ExportOptions.fromJson constructor

ExportOptions.fromJson(
  1. Map json_
)

Implementation

ExportOptions.fromJson(core.Map json_)
    : this(
        calendarOptions: json_.containsKey('calendarOptions')
            ? CalendarExportOptions.fromJson(json_['calendarOptions']
                as core.Map<core.String, core.dynamic>)
            : null,
        driveOptions: json_.containsKey('driveOptions')
            ? DriveExportOptions.fromJson(
                json_['driveOptions'] as core.Map<core.String, core.dynamic>)
            : null,
        groupsOptions: json_.containsKey('groupsOptions')
            ? GroupsExportOptions.fromJson(
                json_['groupsOptions'] as core.Map<core.String, core.dynamic>)
            : null,
        hangoutsChatOptions: json_.containsKey('hangoutsChatOptions')
            ? HangoutsChatExportOptions.fromJson(json_['hangoutsChatOptions']
                as core.Map<core.String, core.dynamic>)
            : null,
        mailOptions: json_.containsKey('mailOptions')
            ? MailExportOptions.fromJson(
                json_['mailOptions'] as core.Map<core.String, core.dynamic>)
            : null,
        region: json_.containsKey('region')
            ? json_['region'] as core.String
            : null,
        voiceOptions: json_.containsKey('voiceOptions')
            ? VoiceExportOptions.fromJson(
                json_['voiceOptions'] as core.Map<core.String, core.dynamic>)
            : null,
      );