operator == method

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

Equality operator for ValueItem

Implementation

@override
bool operator ==(Object other) {
  if (identical(this, other)) return true;

  return other is ValueItem<T> &&
      other.label == label &&
      other.value == value;
}