FacetByteSlice constructor

  1. @JsonSerializable(includeIfNull: false)
const FacetByteSlice({
  1. @Default(appBskyRichtextFacetByteSlice) @JsonKey(name: r'$type') String $type,
  2. required int byteStart,
  3. required int byteEnd,
  4. @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;