uninstallKioskPolicy static method
Stops and releases the installed kiosk, if any. For tests and shutdown.
Implementation
static Future<void> uninstallKioskPolicy() async {
final DVDeviceKiosk? current = _deviceKiosk;
_deviceKiosk = null;
await current?.dispose();
}