toString method

  1. @override
String toString ()
override

This is just to suggest children to implement a named constructor to support creating objects fromJson(...) and fromJsonString(...) as easy as T.build().fromJson(...) or T.build().fromJsonString(...)

Implementation

@override
String toString() => toJsonString();