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