toString method

  1. @override
String toString ()
override

Returns a string representation of this object.

Implementation

@override
String toString() {
  final String label = _debugLabel != null ? ' $_debugLabel' : '';
  if (runtimeType == LabeledGlobalKey)
    return '[GlobalKey#${shortHash(this)}$label]';
  return '[${describeIdentity(this)}$label]';
}