toString method Null safety

  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