Session class
Constructors
- Session.new({required String accessToken, int? expiresIn, String? refreshToken, String? tokenType, String? providerToken, User? user})
-
Session.fromJson(Map<
String, dynamic> json) -
factory
Properties
- accessToken → String
-
final
- expiresAt → int?
-
no setter
- expiresIn → int?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- persistSessionString → String
-
no setter
- providerToken → String?
-
final
- refreshToken → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tokenType → String?
-
final
- user → User?
-
final
Methods
-
copyWith(
{String? accessToken, int? expiresIn, String? refreshToken, String? tokenType, String? providerToken, User? user}) → Session -
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