PermissionTeamDrivePermissionDetails.fromJson constructor
PermissionTeamDrivePermissionDetails.fromJson(
- Map json_
Implementation
PermissionTeamDrivePermissionDetails.fromJson(core.Map json_)
: this(
additionalRoles: json_.containsKey('additionalRoles')
? (json_['additionalRoles'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
inherited: json_.containsKey('inherited')
? json_['inherited'] as core.bool
: null,
inheritedFrom: json_.containsKey('inheritedFrom')
? json_['inheritedFrom'] as core.String
: null,
role: json_.containsKey('role') ? json_['role'] as core.String : null,
teamDrivePermissionType: json_.containsKey('teamDrivePermissionType')
? json_['teamDrivePermissionType'] as core.String
: null,
);