operator == method

  1. @override
bool operator ==(
  1. Object other
)
override

Operador de igualdad

Implementation

@override
bool operator ==(Object other) {
  if (other is ChalonaValue<T>) {
    return _value == other._value;
  }
  try {
    return _value == from(other);
  } catch (e) {
    return false;
  }
}