RepoRef constructor
- @JsonSerializable(includeIfNull: false)
const
RepoRef(
{ - @Default(comAtprotoAdminDefsRepoRef) @JsonKey(name: r'$type') String $type,
- required String did,
- @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;