toJson method

Map<String, dynamic> toJson()

Return a deep copy json object

  • Do not override

Implementation

Map<String, dynamic> toJson() => jsonDecode(jsonEncode(obj));