DiskSpace class

Disk space info. All sizes are in megabytes.

Constructors

DiskSpace(num? freeSpace, num? totalSpace)
DiskSpace.fromMap(Map<String, dynamic> map)
factory

Properties

freeSpace → num?
Space available for new data, including space the system can free by purging caches.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
totalSpace → num?
Total space of the data volume.
final
usedSpace → num?
totalSpace - freeSpace, or null if any of them is unknown.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited