requestFrameOfReference 方法

Future requestFrameOfReference(
  1. String type,
  2. [Map? options]
)

实现

Future requestFrameOfReference(String type, [Map? options]) {
  var options_dict = null;
  if (options != null) {
    options_dict = convertDartToNative_Dictionary(options);
  }
  return promiseToFuture(JS("creates:VRFrameOfReference;",
      "#.requestFrameOfReference(#, #)", this, type, options_dict));
}