compareTo method

  1. @override
int compareTo(
  1. dynamic bs
)
override

Returns -1, 0 or 1 when passed another ByteSize object.

ByteSize(1024).compareTo(ByteSize.FromBytes(1024)); // 0;

Implementation

@override
int compareTo(dynamic bs) =>
    Bits.compareTo(bs.Bits);