AuthenticationDataModel class
- Implemented types
Constructors
- AuthenticationDataModel.new({required String id, required String token, User? user, String? refreshToken})
- AuthenticationDataModel.fromToken(String token)
-
factory
Properties
Methods
-
copyWith(
{String? id, String? token, User? user, String? refreshToken}) → AuthenticationDataModel -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
hasTokenExpired(
String token, [DateTime? compareAgainst]) → bool