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