SimpleHtmlBlockComponent constructor

SimpleHtmlBlockComponent(
  1. DomService domService,
  2. Element _element,
  3. @Optional.new() @Inject.new(simpleHtmlUriWhitelist) List<Uri>? domainWhitelist,
  4. @Attribute.new('doNotVerifyUrlDestinations') String? externalUrisAllowed,
)

Implementation

SimpleHtmlBlockComponent(
    DomService domService,
    this._element,
    @Optional() @Inject(simpleHtmlUriWhitelist) List<Uri>? domainWhitelist,
    @Attribute('doNotVerifyUrlDestinations') String? externalUrisAllowed)
    : super(
          domService,
          _elementValidator(domainWhitelist ?? _defaultUriWhitelist,
              attributeToBool(externalUrisAllowed)));