SafeResourceUrl.trusted constructor

SafeResourceUrl.trusted(
  1. String url
)

Creates a SafeResourceUrl instance from url that will bypass sanitization.

Warning: Only use this for resource URLs you fully trust.

Implementation

factory SafeResourceUrl.trusted(String url) = SafeResourceUrl._;