RoleActor class

Details about a user assigned to a project role.

Constructors

RoleActor({ProjectRoleGroup? actorGroup, ProjectRoleUser? actorUser, String? avatarUrl, String? displayName, int? id, String? name, RoleActorType? type})
RoleActor.fromJson(Map<String, Object?> json)
factory

Properties

actorGroup ProjectRoleGroup?
final
actorUser ProjectRoleUser?
final
avatarUrl String?
The avatar of the role actor.
final
displayName String?
The display name of the role actor. For users, depending on the user’s privacy setting, this may return an alternative value for the user's name.
final
hashCode int
The hash code for this object.
no setterinherited
id int?
The ID of the role actor.
final
name String?
This property is no longer available and will be removed from the documentation soon. See the deprecation notice for details.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type RoleActorType?
The type of role actor.
final

Methods

copyWith({ProjectRoleGroup? actorGroup, ProjectRoleUser? actorUser, String? avatarUrl, String? displayName, int? id, String? name, RoleActorType? type}) RoleActor
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