ByteConverter class

Constructors

ByteConverter(double _bytes)
ByteConverter.withBits(int _bits)

Properties

gigaBytes double
no setter
hashCode int
The hash code for this object.
no setterinherited
kiloBytes double
no setter
megaBytes double
no setter
petaBytes double
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
teraBytes double
no setter

Methods

add(ByteConverter value) ByteConverter
addBytes(double value) ByteConverter
addGibiBytes(double value) ByteConverter
addGigaBytes(double value) ByteConverter
addKibiBytes(double value) ByteConverter
addKiloBytes(double value) ByteConverter
addMebiBytes(double value) ByteConverter
addMegaBytes(double value) ByteConverter
addPebiBytes(double value) ByteConverter
addPetaBytes(double value) ByteConverter
addTebiBytes(double value) ByteConverter
addTeraBytes(double value) ByteConverter
asBytes({int precision = 2}) double
compareTo(ByteConverter instance) int
isEqualTo(ByteConverter instance) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
subtract(ByteConverter value) ByteConverter
toHumanReadable(SizeUnit unit, {int precision = 2}) String
toString() String
A string representation of this object.
inherited

Operators

operator +(ByteConverter instance) ByteConverter
operator -(ByteConverter instance) ByteConverter
operator <(ByteConverter instance) bool
operator <=(ByteConverter instance) bool
operator ==(Object other) bool
The equality operator.
inherited
operator >(ByteConverter instance) bool
operator >=(ByteConverter instance) bool