RepoRef constructor

  1. @JsonSerializable(includeIfNull: false)
const RepoRef({
  1. @Default(comAtprotoAdminDefsRepoRef) @JsonKey(name: r'$type') String $type,
  2. required String did,
  3. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory RepoRef({
  /// The unique namespace for this lex object.
  ///
  /// `com.atproto.admin.defs#repoRef`
  @Default(comAtprotoAdminDefsRepoRef) @JsonKey(name: r'$type') String $type,
  required String did,

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