toJson method Null safety

Map<String, dynamic> toJson()

Return a JSON encoding of this object.

Implementation

Map<String, dynamic> toJson();