ProfileData class
Represents the profile data.
Constructors
- ProfileData({String? email, String? image, bool? isAdminBlocked, bool? isBlocked, bool? isBlockedMe, bool? isGroupAdmin, bool? isGroupInOfflineMode, bool? isGroupProfile, bool? isItSavedContact, bool? isMuted, bool? isSelected, String? jid, String? mobileNumber, String? name, String? nickName, String? status, String? thumbImage})
- Initializes a new instance of the ProfileData class.
-
ProfileData.fromJson(Map<
String, dynamic> json) -
Converts a JSON object into a ProfileData instance.
factory
Properties
- email ↔ String?
-
The email address of the user.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- image ↔ String?
-
The image of the user.
getter/setter pair
- isAdminBlocked ↔ bool?
-
Indicates if the user is an admin.
getter/setter pair
- isBlocked ↔ bool?
-
Indicates if the user is blocked.
getter/setter pair
- isBlockedMe ↔ bool?
-
Indicates if the user has blocked the current user.
getter/setter pair
- isGroupAdmin ↔ bool?
-
Indicates if the user is a group admin.
getter/setter pair
- isGroupInOfflineMode ↔ bool?
-
Indicates if the group is in offline mode.
getter/setter pair
- isGroupProfile ↔ bool?
-
Indicates if the profile is a group profile.
getter/setter pair
- isItSavedContact ↔ bool?
-
Indicates if the contact is saved.
getter/setter pair
- isMuted ↔ bool?
-
Indicates if the user is muted.
getter/setter pair
- isSelected ↔ bool?
-
Indicates if the user is selected.
getter/setter pair
- jid ↔ String?
-
The JID (Jabber ID) of the user.
getter/setter pair
- mobileNumber ↔ String?
-
The mobile number of the user.
getter/setter pair
- name ↔ String?
-
The name of the user.
getter/setter pair
- nickName ↔ String?
-
The nickname of the user.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status ↔ String?
-
The status of the user.
getter/setter pair
- thumbImage ↔ String?
-
The thumbnail image of the user.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts a ProfileData instance into a JSON object.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited