User class

Constructors

User({required UserType type, String? username, String? userKey, String? accountId, UserAccountType? accountType, String? email, String? publicName, Icon? profilePicture, String? displayName, String? timeZone, bool? isExternalCollaborator, bool? externalCollaborator, List<OperationCheckResult>? operations, UserDetails? details, Space? personalSpace, UserExpandable? expandable, GenericLinks? links})
User.fromJson(Map<String, Object?> json)
factory

Properties

accountId String?
final
accountType UserAccountType?
The account type of the user, may return empty string if unavailable. App is if the user is a bot user created on behalf of an Atlassian app.
final
details UserDetails?
final
displayName String?
The displays name of the user. Depending on the user's privacy setting, this may be the same as publicName.
final
email String?
The email address of the user. Depending on the user's privacy setting, this may return an empty string.
final
expandable UserExpandable?
final
externalCollaborator bool
Whether the user is an external collaborator user
final
hashCode int
The hash code for this object.
no setterinherited
isExternalCollaborator bool
Whether the user is an external collaborator user
final
final
operations List<OperationCheckResult>
final
personalSpace Space?
final
profilePicture Icon?
final
publicName String?
The public name or nickname of the user. Will always contain a value.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeZone String?
This displays user time zone. Depending on the user's privacy setting, this may return null.
final
type UserType
final
userKey String?
final
username String?
final

Methods

copyWith({UserType? type, String? username, String? userKey, String? accountId, UserAccountType? accountType, String? email, String? publicName, Icon? profilePicture, String? displayName, String? timeZone, bool? isExternalCollaborator, bool? externalCollaborator, List<OperationCheckResult>? operations, UserDetails? details, Space? personalSpace, UserExpandable? expandable, GenericLinks? links}) User
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