FileSize class
- Implemented types
Constructors
- FileSize()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getBytes(
int data) → String -
It returns the size of the file in bytes
override
-
getExaBytes(
int data, {PrecisionValue? value}) → String -
It returns the size of the file in bytes
override
-
getGigaBytes(
int data, {PrecisionValue? value}) → String -
It returns the size of the file in bytes
override
-
getKiloBytes(
int data, {PrecisionValue? value}) → String -
It returns the size of the file in bytes
override
-
getMegaBytes(
int data, {PrecisionValue? value}) → String -
It returns the size of the file in bytes
override
-
getPetaBytes(
int data, {PrecisionValue? value}) → String -
It returns the size of the file in bytes
override
-
getSize(
dynamic size, {PrecisionValue precisionValue = PrecisionValue.Two}) → String -
size
can be passed as number or as string the optional parameter PrecisionValue specifies the number of digits after comma/point (default is PrecisionValue.Two) -
getTeraBytes(
int data, {PrecisionValue? value}) → String -
It returns the size of the file in bytes
override
-
getYottaBytes(
int data, {PrecisionValue? value}) → String -
It returns the size of the file in bytes
override
-
getZettaBytes(
int data, {PrecisionValue? value}) → String -
It returns the size of the file in bytes
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited