operator == method

  1. @override
bool operator ==(
  1. 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;