toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (additionalRoleInfo != null) 'additionalRoleInfo': additionalRoleInfo!,
  if (canCreateDrives != null) 'canCreateDrives': canCreateDrives!,
  if (canCreateTeamDrives != null)
    'canCreateTeamDrives': canCreateTeamDrives!,
  if (domainSharingPolicy != null)
    'domainSharingPolicy': domainSharingPolicy!,
  if (driveThemes != null) 'driveThemes': driveThemes!,
  if (etag != null) 'etag': etag!,
  if (exportFormats != null) 'exportFormats': exportFormats!,
  if (features != null) 'features': features!,
  if (folderColorPalette != null) 'folderColorPalette': folderColorPalette!,
  if (importFormats != null) 'importFormats': importFormats!,
  if (isCurrentAppInstalled != null)
    'isCurrentAppInstalled': isCurrentAppInstalled!,
  if (kind != null) 'kind': kind!,
  if (languageCode != null) 'languageCode': languageCode!,
  if (largestChangeId != null) 'largestChangeId': largestChangeId!,
  if (maxUploadSizes != null) 'maxUploadSizes': maxUploadSizes!,
  if (name != null) 'name': name!,
  if (permissionId != null) 'permissionId': permissionId!,
  if (quotaBytesByService != null)
    'quotaBytesByService': quotaBytesByService!,
  if (quotaBytesTotal != null) 'quotaBytesTotal': quotaBytesTotal!,
  if (quotaBytesUsed != null) 'quotaBytesUsed': quotaBytesUsed!,
  if (quotaBytesUsedAggregate != null)
    'quotaBytesUsedAggregate': quotaBytesUsedAggregate!,
  if (quotaBytesUsedInTrash != null)
    'quotaBytesUsedInTrash': quotaBytesUsedInTrash!,
  if (quotaType != null) 'quotaType': quotaType!,
  if (remainingChangeIds != null) 'remainingChangeIds': remainingChangeIds!,
  if (rootFolderId != null) 'rootFolderId': rootFolderId!,
  if (selfLink != null) 'selfLink': selfLink!,
  if (teamDriveThemes != null) 'teamDriveThemes': teamDriveThemes!,
  if (user != null) 'user': user!,
};