FacetLink constructor
- @JsonSerializable(includeIfNull: false)
const
FacetLink(
{ - @Default(appBskyRichtextFacetLink) @JsonKey(name: r'$type') String $type,
- required String uri,
- @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory FacetLink({
/// The unique namespace for this lex object.
///
/// `app.bsky.richtext.facet#link`
@Default(appBskyRichtextFacetLink) @JsonKey(name: r'$type') String $type,
required String uri,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _FacetLink;