operator == method

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

We provide == operator implementation: if two results have the same IP and BSSID, we consider them the same.

This can be useful when working with sets, maps, etc... where equality check becomes important

Implementation

@override
bool operator ==(o) => o is ESPTouchResult && o.ip == ip && o.bssid == bssid;