getPendingFilesSize function
Implementation
Future<num?> getPendingFilesSize() async {
try {
return await platform.invokeMethod('getPendingFilesSize');
} on PlatformException catch (e, stacktrace) {
if (kDebugMode) {
print("Error in getPendingFilesSize");
print(e);
print(stacktrace);
}
rethrow;
} catch (e, stacktrace) {
if (kDebugMode) {
print("Error in getPendingFilesSize");
print(e);
print(stacktrace);
}
throw PlatformException(code: "PLUGIN_ERROR", message: e.toString());
}
}