RoleAssignment.fromJson constructor

RoleAssignment.fromJson(
  1. Map json_
)

Implementation

RoleAssignment.fromJson(core.Map json_)
    : this(
        assignedTo: json_.containsKey('assignedTo')
            ? json_['assignedTo'] as core.String
            : null,
        assigneeType: json_.containsKey('assigneeType')
            ? json_['assigneeType'] as core.String
            : null,
        etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        orgUnitId: json_.containsKey('orgUnitId')
            ? json_['orgUnitId'] as core.String
            : null,
        roleAssignmentId: json_.containsKey('roleAssignmentId')
            ? json_['roleAssignmentId'] as core.String
            : null,
        roleId: json_.containsKey('roleId')
            ? json_['roleId'] as core.String
            : null,
        scopeType: json_.containsKey('scopeType')
            ? json_['scopeType'] as core.String
            : null,
      );