Session constructor
const
Session({})
Implementation
@jsonSerializable
const factory Session({
/// Decentralized Identifier for the user.
required String did,
/// User handle.
required String handle,
/// User's email address.
String? email,
/// A flag indicating whether the email address is confirmed.
@Default(false) bool emailConfirmed,
@Default(false) bool emailAuthFactor,
/// Access JSON Web Token.
required String accessJwt,
/// Refresh JSON Web Token.
required String refreshJwt,
/// DID plc document.
Map<String, dynamic>? didDoc,
@Default(true) bool active,
String? status,
}) = _Session;