ProfileDetails class
Converts a ProfileDetails object into a JSON string.
Constructors
- ProfileDetails({String? contactType, String? email, String? groupCreatedTime, String? image, String? imagePrivacyFlag, bool? isAdminBlocked, bool? isBlocked, bool? isBlockedMe, bool? isGroupAdmin, bool? isGroupInOfflineMode, bool? isGroupProfile, bool? isItSavedContact, bool? isMuted, bool? isSelected, String? jid, String? lastSeenPrivacyFlag, String? mobileNUmberPrivacyFlag, String? mobileNumber, String? name, String? nickName, String? status, String? thumbImage})
- Initializes a new instance of the ProfileDetails class.
-
ProfileDetails.fromJson(Map<
String, dynamic> json) -
Creates a ProfileDetails instance from a JSON map.
factory
Properties
- contactType ↔ String?
-
The type of contact.
getter/setter pair
- email ↔ String?
-
The email address of the user.
getter/setter pair
- groupCreatedTime ↔ String?
-
The time the group was created.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- image ↔ String?
-
The image URL of the user.
getter/setter pair
- imagePrivacyFlag ↔ String?
-
The privacy flag for the user's image.
getter/setter pair
- isAdminBlocked ↔ bool?
-
Indicates whether the user is blocked by the admin.
getter/setter pair
- isBlocked ↔ bool?
-
Indicates whether the user is blocked.
getter/setter pair
- isBlockedMe ↔ bool?
-
Indicates whether the user has blocked the current user.
getter/setter pair
- isGroupAdmin ↔ bool?
-
Indicates whether the user is a group admin.
getter/setter pair
- isGroupInOfflineMode ↔ bool?
-
Indicates whether the group is in offline mode.
getter/setter pair
- isGroupProfile ↔ bool?
-
Indicates whether the profile is a group profile.
getter/setter pair
- isItSavedContact ↔ bool?
-
Indicates whether the contact is saved.
getter/setter pair
- isMuted ↔ bool?
-
Indicates whether the chat is muted.
getter/setter pair
- isSelected ↔ bool?
-
Indicates whether the chat is selected.
getter/setter pair
- jid ↔ String?
-
The unique identifier of the chat.
getter/setter pair
- lastSeenPrivacyFlag ↔ String?
-
The privacy flag for the user's last seen status.
getter/setter pair
- mobileNumber ↔ String?
-
The mobile number of the user.
getter/setter pair
- mobileNUmberPrivacyFlag ↔ String?
-
The privacy flag for the user's mobile number.
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 URL of the user's profile image.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts an instance of ProfileDetails to a JSON map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited