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