onPermissionError property
Callback when failing to obtain device permission.
When the SDK fails to obtain device permission, it triggers this callback to report which device permission could not be obtained.
permissionTypeDevice permission type. See PermissionType.
Implementation
final void Function(PermissionType permissionType)? onPermissionError;