restart method

void restart()

Restart the ChromeOS device when the app runs in kiosk mode. Otherwise, it's no-op.

Implementation

void restart() {
  $js.chrome.runtime.restart();
}