toJson method

Map<CaseInsensitiveString, dynamic> toJson()

Returns a JSON representation of this Object in the data type used by jsonDecode.