RecordView constructor

  1. @JsonSerializable(includeIfNull: false)
const RecordView({
  1. @Default(appBskyEmbedRecordView) @JsonKey(name: r'$type') String $type,
  2. @URecordViewRecordConverter() required URecordViewRecord record,
  3. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory RecordView({
  /// The unique namespace for this lex object.
  ///
  /// `app.bsky.embed.record#view`
  @Default(appBskyEmbedRecordView) @JsonKey(name: r'$type') String $type,
  @URecordViewRecordConverter() required URecordViewRecord record,

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