handlePhotosPermission method
Implementation
Future<bool> handlePhotosPermission() async {
final status = await Permission.photos.status;
if (status.isGranted) {
return true;
} else if (status.isDenied) {
return false;
}
return false;
}