TeamDriveCapabilities.fromJson constructor
TeamDriveCapabilities.fromJson(
- Map json_
Implementation
TeamDriveCapabilities.fromJson(core.Map json_)
: this(
canAddChildren: json_.containsKey('canAddChildren')
? json_['canAddChildren'] as core.bool
: null,
canChangeCopyRequiresWriterPermissionRestriction: json_.containsKey(
'canChangeCopyRequiresWriterPermissionRestriction')
? json_['canChangeCopyRequiresWriterPermissionRestriction']
as core.bool
: null,
canChangeDomainUsersOnlyRestriction:
json_.containsKey('canChangeDomainUsersOnlyRestriction')
? json_['canChangeDomainUsersOnlyRestriction'] as core.bool
: null,
canChangeSharingFoldersRequiresOrganizerPermissionRestriction: json_
.containsKey(
'canChangeSharingFoldersRequiresOrganizerPermissionRestriction')
? json_['canChangeSharingFoldersRequiresOrganizerPermissionRestriction']
as core.bool
: null,
canChangeTeamDriveBackground:
json_.containsKey('canChangeTeamDriveBackground')
? json_['canChangeTeamDriveBackground'] as core.bool
: null,
canChangeTeamMembersOnlyRestriction:
json_.containsKey('canChangeTeamMembersOnlyRestriction')
? json_['canChangeTeamMembersOnlyRestriction'] as core.bool
: null,
canComment: json_.containsKey('canComment')
? json_['canComment'] as core.bool
: null,
canCopy: json_.containsKey('canCopy')
? json_['canCopy'] as core.bool
: null,
canDeleteChildren: json_.containsKey('canDeleteChildren')
? json_['canDeleteChildren'] as core.bool
: null,
canDeleteTeamDrive: json_.containsKey('canDeleteTeamDrive')
? json_['canDeleteTeamDrive'] as core.bool
: null,
canDownload: json_.containsKey('canDownload')
? json_['canDownload'] as core.bool
: null,
canEdit: json_.containsKey('canEdit')
? json_['canEdit'] as core.bool
: null,
canListChildren: json_.containsKey('canListChildren')
? json_['canListChildren'] as core.bool
: null,
canManageMembers: json_.containsKey('canManageMembers')
? json_['canManageMembers'] as core.bool
: null,
canReadRevisions: json_.containsKey('canReadRevisions')
? json_['canReadRevisions'] as core.bool
: null,
canRemoveChildren: json_.containsKey('canRemoveChildren')
? json_['canRemoveChildren'] as core.bool
: null,
canRename: json_.containsKey('canRename')
? json_['canRename'] as core.bool
: null,
canRenameTeamDrive: json_.containsKey('canRenameTeamDrive')
? json_['canRenameTeamDrive'] as core.bool
: null,
canResetTeamDriveRestrictions:
json_.containsKey('canResetTeamDriveRestrictions')
? json_['canResetTeamDriveRestrictions'] as core.bool
: null,
canShare: json_.containsKey('canShare')
? json_['canShare'] as core.bool
: null,
canTrashChildren: json_.containsKey('canTrashChildren')
? json_['canTrashChildren'] as core.bool
: null,
);