operator == method

  1. @override
bool operator ==(
  1. dynamic bs
)
override

Returns if current ByteSize instance is equal to another.

Implementation

@override
bool operator ==(dynamic bs) {
  if (bs is ByteSize) return Bits == bs.Bits;
  return false;
}