operator == method

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

Standard equivalence checking.

Implementation

@override
bool operator ==(Object other) {
  if (identical(this, other)) return true;
  if (other is Box) return value == other.value;
  return value == other;
}