operator method
- dynamic other
Implementation
bool operator(other) {
if (other is TypeDefinition) {
var otherTypeDef = other;
return name == otherTypeDef.name &&
subtype == otherTypeDef.subtype &&
isAmbiguous == otherTypeDef.isAmbiguous &&
_isPrimitive == otherTypeDef._isPrimitive;
}
return false;
}