operator == method

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

Delegates to the underlying value operator==.

Implementation

@override
bool operator ==(Object o) => o is Optional<T> && o._value == _value;