ensure method
Checks if the permission is granted, requests if needed, and shows settings dialog if permanently denied.
Implementation
Future<bool> ensure({
bool showDialog = true,
BuildContext? context,
}) {
return CkPermission(this).ensure(
showDialog: showDialog,
context: context,
);
}