operator == method
This operator compares to GgValue objects based on the value. When given, the compare function is used to make the comparison.
Implementation
@override
bool operator ==(Object other) =>
identical(this, other) ||
other is GgValue<T> &&
((compare != null && compare!(_value, other._value)) ||
_value == other._value);