isStoragePermissionGranted property

Future<bool> get isStoragePermissionGranted

Implementation

static Future<bool> get isStoragePermissionGranted async {
  var status = await checkPermission(Permission.storage);
  return status == PermissionStatus.granted;
}