DescribeRepoOutput constructor

  1. @JsonSerializable(includeIfNull: false)
const DescribeRepoOutput({
  1. required String handle,
  2. required String did,
  3. required Map<String, dynamic> didDoc,
  4. @NSIDConverter() required List<NSID> collections,
  5. required bool handleIsCorrect,
  6. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory DescribeRepoOutput({
  required String handle,
  required String did,

  /// The complete DID document for this account.
  required Map<String, dynamic> didDoc,

  /// List of all the collections (NSIDs) for which this repo contains
  /// at least one record.
  @NSIDConverter() required List<NSID> collections,

  /// Indicates if handle is currently valid (resolves
  /// bi-directionally)
  required bool handleIsCorrect,

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