operator == method

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

Value equality over the wire bytes: two envelopes carrying the same payload under the same signature are the same envelope, whether one was parsed and the other signed.

Implementation

@override
bool operator ==(Object other) =>
    other is SignedEnvelope &&
    other.payloadB64 == payloadB64 &&
    const ListEquality<EnvelopeSignature>()
        .equals(other.signatures, signatures);