withScheme property
Uri
withScheme
Return the URI adding the http scheme if it is missing
Implementation
Uri get withScheme {
if (hasScheme) return this;
return Uri.parse('http://${toString()}');
}
Return the URI adding the http scheme if it is missing
Uri get withScheme {
if (hasScheme) return this;
return Uri.parse('http://${toString()}');
}