hasAccess static method

Future<bool> hasAccess({
  1. bool toAlbum = false,
})

Check if the app has access permissions.

Use the toAlbum for additional permissions to save to an album. If you want to save to an album other than the one created by your app See: Permissions

Implementation

static Future<bool> hasAccess({bool toAlbum = false}) async =>
    GalPlatform.instance.hasAccess(toAlbum: toAlbum);