InputRichBlock.blockquote constructor
const
InputRichBlock.blockquote({
- @JsonKey.new(name: 'type') @Default.new(RichBlockType.blockquote) RichBlockType type,
- @JsonKey.new(name: 'blocks') required List<
InputRichBlock> blocks, - @JsonKey.new(name: 'credit') @RichTextConverter() RichText? credit,
A block quotation, corresponding to the HTML tag <blockquote>.
Implementation
const factory InputRichBlock.blockquote({
/// Type of the block, always "blockquote"
@JsonKey(name: 'type')
@Default(RichBlockType.blockquote)
RichBlockType type,
/// Content of the block
@JsonKey(name: 'blocks') required List<InputRichBlock> blocks,
/// Optional. Credit of the block
@JsonKey(name: 'credit') @RichTextConverter() RichText? credit,
}) = InputRichBlockBlockQuotation;