RecordViewDetached constructor

  1. @JsonSerializable(includeIfNull: false)
const RecordViewDetached({
  1. @Default(appBskyEmbedRecordViewDetached) @JsonKey(name: r'$type') String $type,
  2. @AtUriConverter() required AtUri uri,
  3. required bool detached,
  4. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory RecordViewDetached({
  /// The unique namespace for this lex object.
  ///
  /// `app.bsky.embed.record#viewDetached`
  @Default(appBskyEmbedRecordViewDetached)
  @JsonKey(name: r'$type')
  String $type,
  @AtUriConverter() required AtUri uri,
  required bool detached,

  /// Contains unknown objects not defined in Lexicon.
  @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _RecordViewDetached;