UrlBuilder constructor

UrlBuilder(
  1. String baseUrl
)

Implementation

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