operator == method
- 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;
}