checkStoragePermission method
Check storage permission
Implementation
Future<bool> checkStoragePermission() async {
try {
return await _plugin.checkStoragePermission();
} catch (e) {
print('Error checking storage permission: $e');
return false;
}
}