toJson method

  1. @override
String toJson()
override

Converts to a json value

Implementation

@override
String toJson() => json.encode(toMap());