ParagraphEmbedCodec<T extends ParagraphEmbed>.stateful constructor
const
ParagraphEmbedCodec<T extends ParagraphEmbed>.stateful ({})
Create an embed codec for a stateful paragraph embed.
Implementation
const ParagraphEmbedCodec.stateful({
required String typeStr,
required Object? Function(T) encode,
required T Function(Object?) decode,
}) : super.stateful(typeStr: typeStr, encode: encode, decode: decode);