debugLabel property

String? get debugLabel

A debug label that is used for diagnostic output.

Will always return null in release builds.

Implementation

String? get debugLabel => _debugLabel;
set debugLabel (String? value)

Implementation

set debugLabel(String? value) {
  assert(() {
    // Only set the value in debug builds.
    _debugLabel = value;
    return true;
  }());
}