ServerGetSessionOutput constructor

  1. @JsonSerializable(includeIfNull: false)
const ServerGetSessionOutput({
  1. required String handle,
  2. required String did,
  3. String? email,
  4. bool? emailConfirmed,
  5. bool? emailAuthFactor,
  6. Map<String, dynamic>? didDoc,
  7. bool? active,
  8. @ServerGetSessionStatusConverter() ServerGetSessionStatus? status,
  9. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory ServerGetSessionOutput({
  required String handle,
  required String did,
  String? email,
  bool? emailConfirmed,
  bool? emailAuthFactor,
  Map<String, dynamic>? didDoc,
  bool? active,

  /// If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted.
  @ServerGetSessionStatusConverter() ServerGetSessionStatus? status,

  Map<String, dynamic>? $unknown,
}) = _ServerGetSessionOutput;