matchesPublicKey method

  1. @override
bool matchesPublicKey(
  1. PublicKey publicKey
)

Implementation

@override
bool matchesPublicKey(PublicKey publicKey) {
  final derivedId = PeerId.fromPublicKey(publicKey);
  return this == derivedId;
}