enterXr method
Web only: starts the immersive WebXR (or camera + compass) session. Must be called from a user gesture such as a button tap.
Implementation
Future<bool> enterXr() async {
final bool ok = await _invoke<bool>("enterXr") ?? false;
value = value.copyWith(isXrActive: ok);
return ok;
}