CurrentUserPresence class
- Annotations
-
- @JsonSerializable(checked: true, createToJson: true, disallowUnrecognizedKeys: false, explicitToJson: true)
Constructors
-
CurrentUserPresence({String? avatarThumbnail, String? displayName, List<
String> ? groups, String? id, String? instance, String? instanceType, String? isRejoining, String? platform, String? profilePicOverride, String? status, String? travelingToInstance, String? travelingToWorld, String? world}) - Returns a new CurrentUserPresence instance.
-
CurrentUserPresence.fromJson(Map<
String, dynamic> json) -
factory
Properties
- avatarThumbnail → String?
-
final
- displayName → String?
-
final
-
groups
→ List<
String> ? -
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String?
-
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 - instance → String?
-
final
- instanceType → String?
-
either an InstanceType or an empty string
final
- isRejoining → String?
-
final
- platform → String?
-
either a Platform or an empty string
final
- profilePicOverride → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → String?
-
either a UserStatus or empty string
final
- travelingToInstance → String?
-
final
- travelingToWorld → String?
-
WorldID be "offline" on User profiles if you are not friends with that user.
final
- world → String?
-
WorldID be "offline" on User profiles if you are not friends with that user.
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