WebviewOptions constructor

WebviewOptions({
  1. bool? enableScripts,
  2. bool? enableForms,
  3. Object? enableCommandUris,
  4. List<Uri>? localResourceRoots,
  5. List<WebviewPortMapping>? portMapping,
})

Implementation

factory WebviewOptions({
  _i2.bool? enableScripts,
  _i2.bool? enableForms,
  _i2.Object? enableCommandUris,
  _i2.List<_i3.Uri>? localResourceRoots,
  _i2.List<_i3.WebviewPortMapping>? portMapping,
}) =>
    WebviewOptions._(
      enableScripts: enableScripts,
      enableForms: enableForms,
      enableCommandUris: enableCommandUris ?? _i6.undefined,
      localResourceRoots: localResourceRoots ?? _i6.undefined,
      portMapping: portMapping ?? _i6.undefined,
    );