mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-23 16:00:41 +00:00
5602b1ed80
* updated pub version * added lint * --code=always_use_package_imports * dart fixes * format * other lints
7 lines
269 B
Dart
7 lines
269 B
Dart
import 'package:permission_handler/permission_handler.dart';
|
|
|
|
class PermissionsService {
|
|
Future<PermissionStatus> checkCameraPermission() async => Permission.camera.status;
|
|
|
|
Future<PermissionStatus> requestCameraPermission() async => Permission.camera.request();
|
|
}
|