XRPermissionDescriptor constructor
XRPermissionDescriptor({
- XRSessionMode? mode,
- Iterable<
String> ? requiredFeatures, - Iterable<
String> ? optionalFeatures,
Implementation
factory XRPermissionDescriptor(
{XRSessionMode? mode,
Iterable<String>? requiredFeatures,
Iterable<String>? optionalFeatures}) =>
XRPermissionDescriptor._(
mode: mode?.value ?? undefined,
requiredFeatures: requiredFeatures ?? undefined,
optionalFeatures: optionalFeatures ?? undefined);