- override
Returns a string representation of this object.
Every line of the output should be prefixed by prefix
.
If indentPrefix
is non-null, then the description can be further split
into sublines, and each subline should be prefixed with indentPrefix
(rather that prefix
). This is used, for example, by BoxDecoration for
the otherwise quite verbose BoxShadow descriptions.
Source
@override String toString([String prefix = '', String indentPrefix ]) => '$prefix$runtimeType';