RefreshSessionOutput constructor

  1. @JsonSerializable(includeIfNull: false)
const RefreshSessionOutput({
  1. required String accessJwt,
  2. required String refreshJwt,
  3. required String handle,
  4. required String did,
  5. Map<String, dynamic>? didDoc,
  6. @Default(false) bool active,
  7. @URefreshSessionStatusConverter() URefreshSessionStatus? status,
  8. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory RefreshSessionOutput({
  required String accessJwt,
  required String refreshJwt,
  required String handle,
  required String did,
  Map<String, dynamic>? didDoc,
  @Default(false) bool active,

  /// Hosting status of the account. If not specified, then assume
  /// 'active'.
  @URefreshSessionStatusConverter() URefreshSessionStatus? status,

  /// Contains unknown objects not defined in Lexicon.
  @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _RefreshSessionOutput;