apiUrl property

dynamic get apiUrl

apiUrl method to get the total url with domain and extra path

Example:

Service.domain("https://example.com/");
Service.extraSlag("api/");
print(Service.apiUrl); // https://example.com/api/

Implementation

static get apiUrl => _apiUrl;