toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'from'] = from.toIso8601String();
json[r'to'] = to.toIso8601String();
json[r'recurrenceId'] = recurrenceId;
json[r'reason'] = reason;
return json;
}