CurrentSession class
- Annotations
-
- @freezed
- @Deprecated('Use GetSessionOutput')
Constructors
-
CurrentSession({required String did, required String handle, String? email, @JsonKey(name: 'emailConfirmed') @Default(false) bool isEmailConfirmed, @Default(false) bool emailAuthFactor, Map<
String, dynamic> ? didDoc, @Default(true) bool active, String? status}) -
constfactory
-
CurrentSession.fromJson(Map<
String, Object?> json) -
factory
Properties
- active → bool
-
no setterinherited
-
copyWith
→ $CurrentSessionCopyWith<
CurrentSession> -
no setterinherited
- did → String
-
no setterinherited
-
didDoc
→ Map<
String, dynamic> ? -
no setterinherited
- email → String?
-
no setterinherited
- emailAuthFactor → bool
-
no setterinherited
- handle → String
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEmailConfirmed → bool
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → String?
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited