CreateAccountOutput constructor

  1. @JsonSerializable(includeIfNull: false)
const CreateAccountOutput({
  1. required String accessJwt,
  2. required String refreshJwt,
  3. required String handle,
  4. required String did,
  5. Map<String, dynamic>? didDoc,
  6. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory CreateAccountOutput({
  required String accessJwt,
  required String refreshJwt,
  required String handle,

  /// The DID of the new account.
  required String did,

  /// Complete DID document.
  Map<String, dynamic>? didDoc,

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