baseUrl property

void baseUrl=(String url)

Set base URL for Web API calls.

Implementation

set baseUrl(String url) {
  if (url.isEmpty) {
    throw Exception("Url can't be empty");
  }
  _baseUrl = url;
}