deserializeNode method

  1. @override
HorizontalRuleNode? deserializeNode(
  1. Map<String, dynamic> map
)
override

Deserialize the node

Implementation

@override
HorizontalRuleNode? deserializeNode(Map<String, dynamic> map) {
  return HorizontalRuleNode(id: map[keyNodeId] ?? nodeId)
    ..metadata = deserializeMetadata(map[keyMetadata]);
}