BaseUser class
Constructors
-
BaseUser({String? fristName, String? lastName, required dynamic uid, required String userName, required String emailAddress, String? token, String? imageUrl, String? phoneNumber, UserRoles role = UserRoles.Inactive, UserStatus status = UserStatus.UnAuth})
-
const
-
BaseUser.fromJson(String source)
-
factory
-
BaseUser.fromMap(Map<String, dynamic> map)
-
factory
Methods
-
copyWith({String? fristName, String? lastName, String? userName, String? emailAddress, String? token, UserRoles? role, UserStatus? status, dynamic uid, String? phoneNumber, String? imageUrl})
→ BaseUser
-
-
makeauthUser(BaseUser user)
→ BaseUser
-
-
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