operator == method

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

Checks if two WebPredictionResult instances are equal.

Two results are considered equal if they have the same ID.

Implementation

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