Query.fromJson constructor

Query.fromJson(
  1. Map json_
)

Implementation

Query.fromJson(core.Map json_)
    : this(
        accountInfo: json_.containsKey('accountInfo')
            ? AccountInfo.fromJson(
                json_['accountInfo'] as core.Map<core.String, core.dynamic>)
            : null,
        calendarOptions: json_.containsKey('calendarOptions')
            ? CalendarOptions.fromJson(json_['calendarOptions']
                as core.Map<core.String, core.dynamic>)
            : null,
        corpus: json_.containsKey('corpus')
            ? json_['corpus'] as core.String
            : null,
        dataScope: json_.containsKey('dataScope')
            ? json_['dataScope'] as core.String
            : null,
        driveOptions: json_.containsKey('driveOptions')
            ? DriveOptions.fromJson(
                json_['driveOptions'] as core.Map<core.String, core.dynamic>)
            : null,
        endTime: json_.containsKey('endTime')
            ? json_['endTime'] as core.String
            : null,
        hangoutsChatInfo: json_.containsKey('hangoutsChatInfo')
            ? HangoutsChatInfo.fromJson(json_['hangoutsChatInfo']
                as core.Map<core.String, core.dynamic>)
            : null,
        hangoutsChatOptions: json_.containsKey('hangoutsChatOptions')
            ? HangoutsChatOptions.fromJson(json_['hangoutsChatOptions']
                as core.Map<core.String, core.dynamic>)
            : null,
        mailOptions: json_.containsKey('mailOptions')
            ? MailOptions.fromJson(
                json_['mailOptions'] as core.Map<core.String, core.dynamic>)
            : null,
        method: json_.containsKey('method')
            ? json_['method'] as core.String
            : null,
        orgUnitInfo: json_.containsKey('orgUnitInfo')
            ? OrgUnitInfo.fromJson(
                json_['orgUnitInfo'] as core.Map<core.String, core.dynamic>)
            : null,
        searchMethod: json_.containsKey('searchMethod')
            ? json_['searchMethod'] as core.String
            : null,
        sharedDriveInfo: json_.containsKey('sharedDriveInfo')
            ? SharedDriveInfo.fromJson(json_['sharedDriveInfo']
                as core.Map<core.String, core.dynamic>)
            : null,
        sitesUrlInfo: json_.containsKey('sitesUrlInfo')
            ? SitesUrlInfo.fromJson(
                json_['sitesUrlInfo'] as core.Map<core.String, core.dynamic>)
            : null,
        startTime: json_.containsKey('startTime')
            ? json_['startTime'] as core.String
            : null,
        teamDriveInfo: json_.containsKey('teamDriveInfo')
            ? TeamDriveInfo.fromJson(
                json_['teamDriveInfo'] as core.Map<core.String, core.dynamic>)
            : null,
        terms:
            json_.containsKey('terms') ? json_['terms'] as core.String : null,
        timeZone: json_.containsKey('timeZone')
            ? json_['timeZone'] as core.String
            : null,
        voiceOptions: json_.containsKey('voiceOptions')
            ? VoiceOptions.fromJson(
                json_['voiceOptions'] as core.Map<core.String, core.dynamic>)
            : null,
      );