toJson method
Creates a JSON string representing this Contact instance.
The resulting JSON string can be parsed back using Contact.fromJson.
Implementation
String toJson() => jsonEncode(toMap());
Creates a JSON string representing this Contact instance.
The resulting JSON string can be parsed back using Contact.fromJson.
String toJson() => jsonEncode(toMap());