serializeNode method

  1. @override
Map<String, dynamic>? serializeNode(
  1. ParagraphNode node
)
override

Serialize node data

Implementation

@override
Map<String, dynamic>? serializeNode(ParagraphNode node) {
  return {
    keyNodeId: node.id,
    keyAttributedText: serializeAttrText(node.text),
    keyMetadata: serializeMetadata(node.metadata)
  };
}