We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiler message: lib/services/contacts.dart:9:41: Error: Method not found: 'PermissionHandler'. PermissionStatus permission = await PermissionHandler() ^^^^^^^^^^^^^^^^^ lib/services/contacts.dart:10:32: Error: Getter not found: 'PermissionGroup'. .checkPermissionStatus(PermissionGroup.contacts); ^^^^^^^^^^^^^^^ lib/services/contacts.dart:11:32: Error: Method not found: 'PermissionHandler'. bool showRationale = await PermissionHandler() ^^^^^^^^^^^^^^^^^ lib/services/contacts.dart:12:51: Error: Getter not found: 'PermissionGroup'. .shouldShowRequestPermissionRationale(PermissionGroup.contacts) && ^^^^^^^^^^^^^^^ lib/services/contacts.dart:14:40: Error: Getter not found: 'unknown'. if (permission == PermissionStatus.unknown || showRationale) { ^^^^^^^ lib/services/contacts.dart:16:11: Error: 'PermissionGroup' isn't a type. Map<PermissionGroup, PermissionStatus> statuses = ^^^^^^^^^^^^^^^ lib/services/contacts.dart:17:17: Error: Method not found: 'PermissionHandler'. await PermissionHandler() ^^^^^^^^^^^^^^^^^ lib/services/contacts.dart:18:36: Error: Getter not found: 'PermissionGroup'. .requestPermissions([PermissionGroup.contacts]); ^^^^^^^^^^^^^^^ lib/services/contacts.dart:20:23: Error: Getter not found: 'PermissionGroup'. return statuses[PermissionGroup.contacts]; ^^^^^^^^^^^^^^^ Target kernel_snapshot failed: Exception: Errors during snapshot creation: null build failed.
FAILURE: Build failed with an exception.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Compiler message:
lib/services/contacts.dart:9:41: Error: Method not found: 'PermissionHandler'.
PermissionStatus permission = await PermissionHandler()
^^^^^^^^^^^^^^^^^
lib/services/contacts.dart:10:32: Error: Getter not found: 'PermissionGroup'.
.checkPermissionStatus(PermissionGroup.contacts);
^^^^^^^^^^^^^^^
lib/services/contacts.dart:11:32: Error: Method not found: 'PermissionHandler'.
bool showRationale = await PermissionHandler()
^^^^^^^^^^^^^^^^^
lib/services/contacts.dart:12:51: Error: Getter not found: 'PermissionGroup'.
.shouldShowRequestPermissionRationale(PermissionGroup.contacts) &&
^^^^^^^^^^^^^^^
lib/services/contacts.dart:14:40: Error: Getter not found: 'unknown'.
if (permission == PermissionStatus.unknown || showRationale) {
^^^^^^^
lib/services/contacts.dart:16:11: Error: 'PermissionGroup' isn't a type.
Map<PermissionGroup, PermissionStatus> statuses =
^^^^^^^^^^^^^^^
lib/services/contacts.dart:17:17: Error: Method not found: 'PermissionHandler'.
await PermissionHandler()
^^^^^^^^^^^^^^^^^
lib/services/contacts.dart:18:36: Error: Getter not found: 'PermissionGroup'.
.requestPermissions([PermissionGroup.contacts]);
^^^^^^^^^^^^^^^
lib/services/contacts.dart:20:23: Error: Getter not found: 'PermissionGroup'.
return statuses[PermissionGroup.contacts];
^^^^^^^^^^^^^^^
Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
build failed.
FAILURE: Build failed with an exception.
The text was updated successfully, but these errors were encountered: