User class
Constructors
- User({required String firstName, required String lastName, required int partnerId, required String phoneNumber, required String nationalEqamaNumber, required int morniUserId, required String userType, required String updatedAt, required String createdAt, required int id})
-
User.fromJson(Map<
String, dynamic> json) -
factory
Properties
- createdAt → String
-
final
- firstName → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
final
- lastName → String
-
final
- morniUserId → int
-
final
- nationalEqamaNumber → String
-
final
- partnerId → int
-
final
- phoneNumber → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updatedAt → String
-
final
- userType → String
-
final
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 ==(
Object other) → bool -
The equality operator.
inherited