StorageSpace class

Constructors

StorageSpace.new({required int free, required int total, required int lowOnSpaceThreshold, required int fractionDigits})

Properties

fractionDigits int
Number of digits to use for the Human Readable values
getter/setter pair
free int
Free space in Bytes
getter/setter pair
freeSize String
Free space in a Human Readable format
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
lowOnSpace bool
Flag to show if the free space is below the lowOnSpaceThreshold
getter/setter pair
lowOnSpaceThreshold int
Threshold in Bytes for showing lowOnSpace
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
total int
Total space in Bytes
getter/setter pair
totalSize String
Total space in a Human Readable format
getter/setter pair
usagePercent int
Usage as a percentage
getter/setter pair
usageValue double
Usage as a number from 0...1
getter/setter pair
used int
Used space in Bytes
getter/setter pair
usedSize String
Used space in a Human Readable format
getter/setter pair

Methods

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