How to change the Permission Handler old version to the new version
i have the old permission handler code, but i'm using the latest version of pubspec.yaml . how to change the code below with the latest version?? is there someone who can help me
if (Platform.isAndroid) {
PermissionStatus permissionStorage = await PermissionHandler().checkPermissionStatus(PermissionGroup.storage);
if (permissionStorage != PermissionStatus.granted) {
Map permissionStatus = await PermissionHandler().requestPermission([PermissionGroup.storage]);...