UserModel class
Constructors
- UserModel.new({String? uid, String? email, String? username, UserClaims? claims})
- UserModel.fromJson(String source)
-
factory
-
UserModel.fromMap(Map<
String, dynamic> map) -
factory
Properties
- claims ↔ UserClaims?
-
getter/setter pair
- email ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- isEmpty → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uid ↔ String?
-
getter/setter pair
- username ↔ String?
-
getter/setter pair
Methods
-
copyWith(
{String? uid, String? email, String? username, UserClaims? claims}) → UserModel -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
covariant UserModel other) → bool -
The equality operator.
override