CkPermissionMapper extension

Internal extension — maps CkPermission to permission_handler's Permission.

This extension is intentionally kept internal to core_kit and is NOT part of the public API. Consumers should never need to reference Permission directly.

on

Properties

displayName String

Available on CkPermission, provided by the CkPermissionMapper extension

Returns a human-readable name for display in dialogs / logs.
no setter

Methods

resolveForPlatform({required bool isAndroid}) → Permission

Available on CkPermission, provided by the CkPermissionMapper extension

Resolves the correct native Permission for the given platform context.
toNative() → Permission

Available on CkPermission, provided by the CkPermissionMapper extension

Returns the underlying Permission object used by permission_handler.