operator == method

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

override equal operation

Implementation

@override
operator ==(other) {
  if (other is! CborNumeric) return false;
  if (other is CborBigIntValue) return false;
  return other.toBigInt() == toBigInt();
}