CurrentSession constructor
const
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,
})
Implementation
@jsonSerializable
const factory 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,
}) = _CurrentSession;