User class
- Mixed in types
- Annotations
-
- @JsonSerializable()
- @UserRelationshipJsonConverter()
Constructors
- User({required String userId, required String identityNumber, required UserRelationship? relationship, required String biography, required bool isVerified, required String muteUntil, required bool isScam, String? fullName, String? avatarUrl, String? phone, DateTime? createdAt, bool? hasPin, App? app, String? codeId, String? codeUrl, bool? isDeactivated})
-
User.fromJson(Map<
String, dynamic> json) -
factory
Properties
- app ↔ App?
-
getter/setter pair
- avatarUrl ↔ String?
-
getter/setter pair
- biography ↔ String
-
getter/setter pair
- codeId ↔ String?
-
getter/setter pair
- codeUrl ↔ String?
-
getter/setter pair
- createdAt ↔ DateTime?
-
getter/setter pair
- fullName ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasPin ↔ bool?
-
getter/setter pair
- identityNumber ↔ String
-
getter/setter pair
- isDeactivated ↔ bool?
-
getter/setter pair
- isScam ↔ bool
-
getter/setter pair
- isVerified ↔ bool
-
getter/setter pair
- muteUntil ↔ String
-
getter/setter pair
- phone ↔ String?
-
getter/setter pair
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- relationship ↔ UserRelationship?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - userId ↔ String
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited