equals method
Compares this descriptor to a value. If value is a Descriptor it tries to match them, otherwise the method returns false.
value
the value to match against this descriptor. Returns true if the value is matching descriptor and false otherwise.
See match
Implementation
bool equals(value) {
if (value is Descriptor) return match(value);
return false;
}