toJson abstract method Null safety

Map<String, dynamic> toJson()
inherited

Returns a JSON-encoded representation of the value you supply.

Returns: a JSON-encoded representation of the supplied value. See json_serializable

Implementation

Map<String, dynamic> toJson();