DiskSpace class

DiskSpace is a class that provides methods to get information about the device's disk space.

Constructors

DiskSpace()

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

getPlatformVersion() Future<String?>
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

Static Properties

getFreeDiskSpace Future<double?>
Returns the amount of free disk space on the device.
no setter
getTotalDiskSpace Future<double?>
Returns the total amount of disk space on the device.
no setter

Static Methods

getFreeDiskSpaceForPath(String path) Future<double?>
Returns the amount of free disk space for a specific path.