RichBlockCaption constructor
const
RichBlockCaption({
- @JsonKey.new(name: 'text') @RichTextConverter() required RichText text,
- @JsonKey.new(name: 'credit') @RichTextConverter() RichText? credit,
Caption of a rich formatted block.
Implementation
const factory RichBlockCaption({
/// Block caption
@JsonKey(name: 'text') @RichTextConverter() required RichText text,
/// Optional. Block credit which corresponds to the HTML tag <cite>
@JsonKey(name: 'credit') @RichTextConverter() RichText? credit,
}) = _RichBlockCaption;