bypassSecurityTrustUrl method

SafeUrl bypassSecurityTrustUrl(
  1. String? value
)

Bypass security and trust the given value to be a safe style URL, i.e. a value that can be used in hyperlinks or <iframe src>.

WARNING: calling this method with untrusted user data will cause severe security bugs!

Implementation

SafeUrl bypassSecurityTrustUrl(String? value) => SafeUrl(value ?? '');