EmbedRecordView constructor

  1. @JsonSerializable(includeIfNull: false)
const EmbedRecordView({
  1. @Default('app.bsky.embed.record#view') String $type,
  2. @UEmbedRecordViewRecordConverter() required UEmbedRecordViewRecord record,
  3. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory EmbedRecordView({
  @Default('app.bsky.embed.record#view') String $type,
  @UEmbedRecordViewRecordConverter() required UEmbedRecordViewRecord record,

  Map<String, dynamic>? $unknown,
}) = _EmbedRecordView;