toString method

  1. @override
String toString()
override

Give a human-readable representation of this node, for debugging and exploration.

Implementation

@override
String toString() {
  final String idPart;
  if (id == null) {
    idPart = '';
  } else {
    idPart = '(id: $id)';
  }
  final cName = runtimeType.toString();
  return '$cName$idPart';
}