toString method

  1. @override
String toString()
override

Output object types as JSON string.

Implementation

@override
String toString() => jsonEncode(toJson());