Account class abstract
- Annotations
-
- @freezed
Constructors
- Account.new({required String id, required String providerId, required String accountId, required String userId, String? accessToken, String? refreshToken, String? idToken, DateTime? accessTokenExpiresAt, DateTime? refreshTokenExpiresAt, String? scope, String? password, @Default(null) DateTime? createdAt, @Default(null) DateTime? updatedAt})
-
constfactory
-
Account.fromJson(Map<
String, dynamic> json) -
factory
Properties
- accessToken → String?
-
no setterinherited
- accessTokenExpiresAt → DateTime?
-
no setterinherited
- accountId → String
-
no setterinherited
-
copyWith
→ $AccountCopyWith<
Account> -
Create a copy of Account
with the given fields replaced by the non-null parameter values.
no setterinherited
- createdAt → DateTime?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
no setterinherited
- idToken → String?
-
no setterinherited
- password → String?
-
no setterinherited
- providerId → String
-
no setterinherited
- refreshToken → String?
-
no setterinherited
- refreshTokenExpiresAt → DateTime?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scope → String?
-
no setterinherited
- updatedAt → DateTime?
-
no setterinherited
- userId → String
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this Account to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited