operator == method

  1. @override
bool operator ==(
  1. Object other
)
override

Whether other is an RSA public key with the same modulus and exponent.

Implementation

@override
bool operator ==(Object other) =>
    identical(this, other) ||
    (other is PublicKey && listEquals(toBytes(), other.toBytes()));