User class
Constructors
-
User({required String sId, String? status, bool? isVerified, String? fullName, String? mobileNo, String? gender, int? age, String? bio, DateTime? createdAt, int? connectionsCount = 0, String? countryFlag, String? countryName, bool? isOnline, List<
SocialAccounts> ? socialAccountsList, UserType? type, DateTime? dateOfBirth, LoginMethodType? loginMethodType}) -
User.fromJson(Map<
String, dynamic> json) -
factory
-
User.fromNotificationPayload(Map<
String, String?> ? payload) -
factory
Properties
- age ↔ int?
-
getter/setter pair
- bio ↔ String?
-
getter/setter pair
- connectionsCount ↔ int?
-
getter/setter pair
- countryFlag ↔ String?
-
getter/setter pair
- countryName ↔ String?
-
getter/setter pair
- createdAt ↔ DateTime?
-
getter/setter pair
- dateOfBirth ↔ DateTime?
-
getter/setter pair
- fullName ↔ String?
-
getter/setter pair
- gender ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- isAdmin → bool
-
no setter
- isOnline ↔ bool?
-
getter/setter pair
- isVerified ↔ bool?
-
getter/setter pair
- loginMethodType ↔ LoginMethodType?
-
getter/setter pair
- mobileNo ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sId ↔ String
-
getter/setter pair
-
getter/setter pair
- status ↔ String?
-
getter/setter pair
- type ↔ UserType?
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
covariant User other) → bool -
The equality operator.
override