toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accountInfo != null) 'accountInfo': accountInfo!,
      if (calendarOptions != null) 'calendarOptions': calendarOptions!,
      if (corpus != null) 'corpus': corpus!,
      if (dataScope != null) 'dataScope': dataScope!,
      if (driveOptions != null) 'driveOptions': driveOptions!,
      if (endTime != null) 'endTime': endTime!,
      if (hangoutsChatInfo != null) 'hangoutsChatInfo': hangoutsChatInfo!,
      if (hangoutsChatOptions != null)
        'hangoutsChatOptions': hangoutsChatOptions!,
      if (mailOptions != null) 'mailOptions': mailOptions!,
      if (method != null) 'method': method!,
      if (orgUnitInfo != null) 'orgUnitInfo': orgUnitInfo!,
      if (searchMethod != null) 'searchMethod': searchMethod!,
      if (sharedDriveInfo != null) 'sharedDriveInfo': sharedDriveInfo!,
      if (sitesUrlInfo != null) 'sitesUrlInfo': sitesUrlInfo!,
      if (startTime != null) 'startTime': startTime!,
      if (teamDriveInfo != null) 'teamDriveInfo': teamDriveInfo!,
      if (terms != null) 'terms': terms!,
      if (timeZone != null) 'timeZone': timeZone!,
      if (voiceOptions != null) 'voiceOptions': voiceOptions!,
    };