CachedProfileInformation class
- Inheritance
-
- Object
- ProfileInformation
- CachedProfileInformation
Constructors
-
CachedProfileInformation.fromJson(Map<
String, Object?> json) -
factory
- CachedProfileInformation.fromProfile(ProfileInformation profile, {required bool outdated, required DateTime updated})
Properties
- avatarUrl ↔ Uri?
-
The user's avatar URL if they have set one, otherwise not present.
getter/setter pairinherited
- displayname ↔ String?
-
The user's display name if they have set one, otherwise not present.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- outdated → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updated → DateTime
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited