operator [] method

ByteUnits operator [](
  1. int index
)

Returns the ByteUnits instance at the specified index.

Implementation

ByteUnits operator [](int index) => values.elementAt(index);