toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (canAcceptOwnership != null) 'canAcceptOwnership': canAcceptOwnership!,
  if (canAddChildren != null) 'canAddChildren': canAddChildren!,
  if (canAddFolderFromAnotherDrive != null)
    'canAddFolderFromAnotherDrive': canAddFolderFromAnotherDrive!,
  if (canAddMyDriveParent != null)
    'canAddMyDriveParent': canAddMyDriveParent!,
  if (canChangeCopyRequiresWriterPermission != null)
    'canChangeCopyRequiresWriterPermission':
        canChangeCopyRequiresWriterPermission!,
  if (canChangeItemDownloadRestriction != null)
    'canChangeItemDownloadRestriction': canChangeItemDownloadRestriction!,
  if (canChangeSecurityUpdateEnabled != null)
    'canChangeSecurityUpdateEnabled': canChangeSecurityUpdateEnabled!,
  if (canChangeViewersCanCopyContent != null)
    'canChangeViewersCanCopyContent': canChangeViewersCanCopyContent!,
  if (canComment != null) 'canComment': canComment!,
  if (canCopy != null) 'canCopy': canCopy!,
  if (canDelete != null) 'canDelete': canDelete!,
  if (canDeleteChildren != null) 'canDeleteChildren': canDeleteChildren!,
  if (canDisableInheritedPermissions != null)
    'canDisableInheritedPermissions': canDisableInheritedPermissions!,
  if (canDownload != null) 'canDownload': canDownload!,
  if (canEdit != null) 'canEdit': canEdit!,
  if (canEnableInheritedPermissions != null)
    'canEnableInheritedPermissions': canEnableInheritedPermissions!,
  if (canListChildren != null) 'canListChildren': canListChildren!,
  if (canModifyContent != null) 'canModifyContent': canModifyContent!,
  if (canModifyContentRestriction != null)
    'canModifyContentRestriction': canModifyContentRestriction!,
  if (canModifyEditorContentRestriction != null)
    'canModifyEditorContentRestriction': canModifyEditorContentRestriction!,
  if (canModifyLabels != null) 'canModifyLabels': canModifyLabels!,
  if (canModifyOwnerContentRestriction != null)
    'canModifyOwnerContentRestriction': canModifyOwnerContentRestriction!,
  if (canMoveChildrenOutOfDrive != null)
    'canMoveChildrenOutOfDrive': canMoveChildrenOutOfDrive!,
  if (canMoveChildrenOutOfTeamDrive != null)
    'canMoveChildrenOutOfTeamDrive': canMoveChildrenOutOfTeamDrive!,
  if (canMoveChildrenWithinDrive != null)
    'canMoveChildrenWithinDrive': canMoveChildrenWithinDrive!,
  if (canMoveChildrenWithinTeamDrive != null)
    'canMoveChildrenWithinTeamDrive': canMoveChildrenWithinTeamDrive!,
  if (canMoveItemIntoTeamDrive != null)
    'canMoveItemIntoTeamDrive': canMoveItemIntoTeamDrive!,
  if (canMoveItemOutOfDrive != null)
    'canMoveItemOutOfDrive': canMoveItemOutOfDrive!,
  if (canMoveItemOutOfTeamDrive != null)
    'canMoveItemOutOfTeamDrive': canMoveItemOutOfTeamDrive!,
  if (canMoveItemWithinDrive != null)
    'canMoveItemWithinDrive': canMoveItemWithinDrive!,
  if (canMoveItemWithinTeamDrive != null)
    'canMoveItemWithinTeamDrive': canMoveItemWithinTeamDrive!,
  if (canMoveTeamDriveItem != null)
    'canMoveTeamDriveItem': canMoveTeamDriveItem!,
  if (canReadDrive != null) 'canReadDrive': canReadDrive!,
  if (canReadLabels != null) 'canReadLabels': canReadLabels!,
  if (canReadRevisions != null) 'canReadRevisions': canReadRevisions!,
  if (canReadTeamDrive != null) 'canReadTeamDrive': canReadTeamDrive!,
  if (canRemoveChildren != null) 'canRemoveChildren': canRemoveChildren!,
  if (canRemoveContentRestriction != null)
    'canRemoveContentRestriction': canRemoveContentRestriction!,
  if (canRemoveMyDriveParent != null)
    'canRemoveMyDriveParent': canRemoveMyDriveParent!,
  if (canRename != null) 'canRename': canRename!,
  if (canShare != null) 'canShare': canShare!,
  if (canTrash != null) 'canTrash': canTrash!,
  if (canTrashChildren != null) 'canTrashChildren': canTrashChildren!,
  if (canUntrash != null) 'canUntrash': canUntrash!,
};