operator method

bool operator (
  1. dynamic other
)

Implementation

bool operator(other) {
  if (other is ClassDefinition) {
    var otherClassDef = other;
    return isSubsetOf(otherClassDef) && otherClassDef.isSubsetOf(this);
  }
  return false;
}