StrongRef constructor
- @JsonSerializable(includeIfNull: false)
const
StrongRef(
{ - @Default(comAtprotoRepoStrongRef) @JsonKey(name: r'$type') String $type,
- @AtUriConverter() required AtUri uri,
- required String cid,
- @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory StrongRef({
/// The unique namespace for this lex object.
///
/// `com.atproto.repo.strongRef`
@Default(comAtprotoRepoStrongRef) @JsonKey(name: r'$type') String $type,
@AtUriConverter() required AtUri uri,
required String cid,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _StrongRef;