@override Future<bool> requestPermission() async { _isPermissionGranted = web.window .callMethod<JSBoolean>('requestDeviceMotionEventPermission'.toJS) .toDart; return _isPermissionGranted; }