ProjectRole class
Details about the roles in a project.
Constructors
Properties
-
actors
→ List<
RoleActor> -
The list of users who act in this role.
final
- admin → bool
-
Whether this role is the admin role for the project.
final
- currentUserRole → bool
-
Whether the calling user is part of this role.
final
- default$ → bool
-
Whether this role is the default role for the project
final
- description → String?
-
The description of the project role.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int?
-
The ID of the project role.
final
- name → String?
-
The name of the project role.
final
- roleConfigurable → bool
-
Whether the roles are configurable for this project.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scope → Scope?
-
The scope of the role. Indicated for roles associated with
next-gen projects.
final
- self → String?
-
The URL the project role details.
final
- translatedName → String?
-
The translated name of the project role.
final
Methods
-
copyWith(
{List< RoleActor> ? actors, bool? admin, bool? currentUserRole, bool? default$, String? description, int? id, String? name, bool? roleConfigurable, Scope? scope, String? self, String? translatedName}) → ProjectRole -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited