toString method
If forceToStringRawValue is true
or isValidUri is false
, it returns rawValue,
otherwise the value of uriValue.toString()
.
Implementation
@override
String toString() {
return forceToStringRawValue || !_isValidUri ? _rawValue : _uri.toString();
}