baseUrl property
Set base URL for Web API calls.
Implementation
set baseUrl(String url) {
if (url.isEmpty) {
throw Exception("Url can't be empty");
}
_baseUrl = url;
}
Set base URL for Web API calls.
set baseUrl(String url) {
if (url.isEmpty) {
throw Exception("Url can't be empty");
}
_baseUrl = url;
}