Avatar class

Details of an avatar.

Constructors

Avatar({String? fileName, required String id, bool? isDeletable, bool? isSelected, bool? isSystemAvatar, String? owner, Map<String, dynamic>? urls})
Avatar.fromJson(Map<String, Object?> json)
factory

Properties

fileName String?
The file name of the avatar icon. Returned for system avatars.
final
hashCode int
The hash code for this object.
no setterinherited
id String
The ID of the avatar.
final
isDeletable bool
Whether the avatar can be deleted.
final
isSelected bool
Whether the avatar is used in Jira. For example, shown as a project's avatar.
final
isSystemAvatar bool
Whether the avatar is a system avatar.
final
owner String?
The owner of the avatar. For a system avatar the owner is null (and nothing is returned). For non-system avatars this is the appropriate identifier, such as the ID for a project or the account ID for a user.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
urls Map<String, dynamic>?
The list of avatar icon URLs.
final

Methods

copyWith({String? fileName, String? id, bool? isDeletable, bool? isSelected, bool? isSystemAvatar, String? owner, Map<String, dynamic>? urls}) Avatar
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