equals method

  1. @override
bool equals(
  1. CUsb self,
  2. CUsb other
)

Implementation

@override bool equals(p2.CUsb self, p2.CUsb other) => Mapper.isEqual(self.mac, other.mac) && Mapper.isEqual(self.type, other.type) && Mapper.isEqual(self.name, other.name) && Mapper.isEqual(self.online, other.online) && Mapper.isEqual(self.ip, other.ip) && Mapper.isEqual(self.connectedTo, other.connectedTo);