flutter import as prefix code example
Example: Try using 'as prefix' for one of the import directives, or hiding the name from all but one of the imports.dartambiguous_import
import 'package:permission_handler/permission_handler.dart' as ph;
// then use the alias
// ...
if (await ph.Permission.locationWhenInUse.serviceStatus.isDisabled || await ph.Permission.speech.isPermanentlyDenied) {
await ph.openAppSettings();
}
// (...)