PermissionTeamDrivePermissionDetails.fromJson constructor

PermissionTeamDrivePermissionDetails.fromJson(
  1. Map _json
)

Implementation

PermissionTeamDrivePermissionDetails.fromJson(core.Map _json) {
  if (_json.containsKey("additionalRoles")) {
    additionalRoles =
        (_json["additionalRoles"] as core.List).cast<core.String>();
  }
  if (_json.containsKey("inherited")) {
    inherited = _json["inherited"];
  }
  if (_json.containsKey("inheritedFrom")) {
    inheritedFrom = _json["inheritedFrom"];
  }
  if (_json.containsKey("role")) {
    role = _json["role"];
  }
  if (_json.containsKey("teamDrivePermissionType")) {
    teamDrivePermissionType = _json["teamDrivePermissionType"];
  }
}