requestAccess static method
Request access permissions.
Returns true
if access is granted, false
if denied.
If access was already granted, the dialog is not displayed and returns true.
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> requestAccess({bool toAlbum = false}) async =>
GalPlatform.instance.requestAccess(toAlbum: toAlbum);