import 'package:permission_handler/permission_handler.dart'; class PermissionsService { Future checkCameraPermission() async => await Permission.camera.status; Future requestCameraPermission() async => Permission.camera.request(); }