operator == method
- Object other
override
For now devices are unique based on their IP addresses irrespective of ports.
Implementation
@override
bool operator ==(Object other) =>
identical(this, other) ||
other is Device && runtimeType == other.runtimeType && _ip == other._ip;