Avatar class
- Annotations
-
- @JsonSerializable(checked: true, createToJson: true, disallowUnrecognizedKeys: false, explicitToJson: true)
Constructors
-
Avatar({String? assetUrl, Object? assetUrlObject, required String authorId, required String authorName, required DateTime createdAt, required String description, bool featured = false, required String id, required String imageUrl, required String name, required ReleaseStatus releaseStatus, required List<
String> tags, required String thumbnailImageUrl, required String unityPackageUrl, required AvatarUnityPackageUrlObject unityPackageUrlObject, required Set<UnityPackage> unityPackages, required DateTime updatedAt, int version = 0}) - Returns a new Avatar instance.
-
Avatar.fromJson(Map<
String, dynamic> json) -
factory
Properties
- assetUrl → String?
-
Not present from general serach
/avatars
, only on specific requests/avatars/{avatarId}
.final - assetUrlObject → Object?
-
Not present from general serach
/avatars
, only on specific requests/avatars/{avatarId}
. Deprecation:Object
has unknown usage/fields, and is always empty. Use normalUrl
field instead.final -
A users unique ID, usually in the form of
usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469
. Legacy players can have old IDs in the form of8JoV9XEdpo
. The ID can never be changed.final -
final
- createdAt → DateTime
-
final
- description → String
-
final
- featured → bool
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
final
- imageUrl → String
-
final
- name → String
-
final
- releaseStatus → ReleaseStatus
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
final
- thumbnailImageUrl → String
-
final
-
unityPackages
→ Set<
UnityPackage> -
final
- unityPackageUrl → String
-
final
- unityPackageUrlObject → AvatarUnityPackageUrlObject
-
final
- updatedAt → DateTime
-
final
- version → int
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override