operator == method

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

Overrides equality operator to compare events by value.

Implementation

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