toJson method
Converts this Attendee
object to a JSON object.
The 'type' key maps to a string representing the attendee type.
The 'status' key maps to a JSON object that represents the Status
object.
If the Status
object is null
, the 'status' key maps to null
.
The 'emailAddress' key maps to a JSON object that represents the EmailAddress
object.
If the EmailAddress
object is null
, the 'emailAddress' key maps to null
.
Implementation
Map<String, dynamic> toJson() {
return {
'type': type,
'status': status?.toJson(),
'emailAddress': emailAddress?.toJson(),
};
}