EndOfMeetingReminder.fromJson constructor

EndOfMeetingReminder.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory EndOfMeetingReminder.fromJson(Map<String, dynamic> json) {
  return EndOfMeetingReminder(
    enabled: json['Enabled'] as bool?,
    reminderAtMinutes: (json['ReminderAtMinutes'] as List?)
        ?.whereNotNull()
        .map((e) => e as int)
        .toList(),
    reminderType:
        (json['ReminderType'] as String?)?.toEndOfMeetingReminderType(),
  );
}