debugLabel property Null safety

String? debugLabel

A debug label that is used for diagnostic output.

Will always return null in release builds.

Implementation

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

Implementation

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