strikethrough top-level property

TextAttributeCodec<_StrikethroughAttribute> strikethrough
final

Codec to convert underlineAttribute to/from JSON (see DocumentJsonCodec).

Implementation

final strikethrough = TextAttributeCodec.stateless(
  typeStr: 'strike',
  create: () => strikethroughAttribute,
);