toJson method

Map<String, dynamic> toJson()

Converts this MeetingTimeSuggestionsResult object to a JSON object.

Each parameter of MeetingTimeSuggestionsResult corresponds to a key in the resulting JSON object.

Implementation

Map<String, dynamic> toJson() {
  return {
    '@odata.context': context,
    'emptySuggestionsReason': emptySuggestionsReason,
    'meetingTimeSuggestions':
        meetingTimeSuggestions?.map((e) => e?.toJson()).toList(),
  };
}