equals method

  1. @override
bool equals(
  1. DCFComponentNode other
)
override

Whether this node is equal to another

Implementation

@override
bool equals(DCFComponentNode other) {
  if (other is! DCFElement) return false;
  if (type != other.type) return false;
  if (key != other.key) return false;

  return true;
}