PermissionTeamDrivePermissionDetails.fromJson constructor

PermissionTeamDrivePermissionDetails.fromJson(
  1. Map json_
)

Implementation

PermissionTeamDrivePermissionDetails.fromJson(core.Map json_)
    : this(
        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,
      );