User class
Constructors
- User.new(String _identity, Attributes _attributes, String? _friendlyName, bool _isNotifiable, bool _isOnline, bool _isSubscribed)
-
User.fromMap(Map<
String, dynamic> map) -
Construct from a map.
factory
- User.fromPigeon(UserData userData)
-
factory
Properties
- attributes → Attributes
-
Get attributes map
no setter
- friendlyName → String?
-
Method that returns the friendlyName from the user info.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- identity → String
-
Returns the identity of the user.
no setter
- isNotifiable → bool
-
Return user's push reachability.
no setter
- isOnline → bool
-
Return user's online status, if available,
no setter
- isSubscribed → bool
-
Check if this user receives real-time status updates.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setAttributes(
Attributes attributes) → Future< void> -
setFriendlyName(
String friendlyName) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited