toString method

  1. @override
String toString()
override

JSON string representation of the model. This is what gets written to disk.

Implementation

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