toString method

  1. @override
String toString()
override

Gets a string representation of the object. The result has format name,library

Returns a string representation of the object.

See fromString

Implementation

@override
String toString() {
  var builder = '' + _name;
  if (_library != null) builder += ',' + _library!;
  return builder.toString();
}