Returns true if other is a Nonce or a String with the same value as this.
true
other
value
this
@override bool operator ==(Object other) => (other is Nonce && _value == other._value) || (other is String && _value == other);