operator == method

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

Returns true if other is a Nonce or a String with the same value as this.

Implementation

@override
bool operator ==(Object other) =>
    (other is Nonce && _value == other._value) ||
    (other is String && _value == other);