EmbeddedIframeSettings constructor

EmbeddedIframeSettings({
  1. bool? enabled,
  2. Iterable<String>? allowedOrigins,
})

Implementation

factory EmbeddedIframeSettings({
  $core.bool? enabled,
  $core.Iterable<$core.String>? allowedOrigins,
}) {
  final $result = create();
  if (enabled != null) {
    $result.enabled = enabled;
  }
  if (allowedOrigins != null) {
    $result.allowedOrigins.addAll(allowedOrigins);
  }
  return $result;
}