onPermissionRequest method
Async permission pre-hook. Return .handledByHost(granted:) to short-circuit, or null to run the native flow.
Implementation
Future<Map<String, dynamic>?> onPermissionRequest(String permissionType) async => null;
Async permission pre-hook. Return .handledByHost(granted:) to short-circuit, or null to run the native flow.
Future<Map<String, dynamic>?> onPermissionRequest(String permissionType) async => null;