isCompatibleForMerge method

  1. @override
bool isCompatibleForMerge(
  1. DOMNode other
)
override

Returns true if other is compatible for merging.

Implementation

@override
bool isCompatibleForMerge(DOMNode other) {
  return other is TextNode;
}