RefreshSessionOutput constructor
- @JsonSerializable(includeIfNull: false)
const
RefreshSessionOutput(
{ - required String accessJwt,
- required String refreshJwt,
- required String handle,
- required String did,
- Map<String, dynamic>? didDoc,
- @Default(false) bool active,
- @URefreshSessionStatusConverter() URefreshSessionStatus? status,
- @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;