requestSession method

Future<XRSession> requestSession(
  1. XRSessionMode mode, [
  2. XRSessionInit? options
])

Implementation

Future<XRSession> requestSession(XRSessionMode mode,
        [XRSessionInit? options]) =>
    js_util.promiseToFuture(
        js_util.callMethod(this, 'requestSession', [mode.value, options]));