CurrentSession constructor

  1. @jsonSerializable
const CurrentSession({
  1. required String did,
  2. required String handle,
  3. String? email,
  4. @JsonKey(name: 'emailConfirmed') @Default(false) bool isEmailConfirmed,
  5. @Default(false) bool emailAuthFactor,
  6. Map<String, dynamic>? didDoc,
  7. @Default(true) bool active,
  8. 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;