operator == method Null safety
- Object other
override
important to compare using peerId
Implementation
@override
bool operator ==(Object other) =>
identical(this, other) ||
other is HMSPeer &&
runtimeType == other.runtimeType &&
peerId == other.peerId;