getFreeDiskSpace property

Future<double?> get getFreeDiskSpace

Returns the amount of free disk space on the device.

This is a static method and can be called directly on the DiskSpace class.

Implementation

static Future<double?> get getFreeDiskSpace async {
  final double? freeDiskSpace = await _channel.invokeMethod('getFreeDiskSpace');
  return freeDiskSpace;
}