getFreeDiskSpaceForPath static method
Implementation
static Future<double?> getFreeDiskSpaceForPath(String path) async {
if (!Directory(path).existsSync()) {
throw Exception("Specified path does not exist");
}
final double? freeDiskSpace =
await _channel.invokeMethod('getFreeDiskSpaceForPath', {"path": path});
return freeDiskSpace;
}