The equality operator
Returns true if and only if the other of the two are the same.
other
@override bool operator ==(Object other) => (other is ResultCode && _value == other._value);