UrlBuilder constructor
UrlBuilder(
- String baseUrl
Implementation
UrlBuilder(String baseUrl) {
// removes the trailing "/" if there's one
_baseUrl = baseUrl.replaceFirst(RegExp(r'/$'), '');
}
UrlBuilder(String baseUrl) {
// removes the trailing "/" if there's one
_baseUrl = baseUrl.replaceFirst(RegExp(r'/$'), '');
}