getFinalEndpoint function
Implementation
String getFinalEndpoint(String url, NetworkState state) {
if (url.length > 0) return url;
return state.apiEndpoint.value;
}
String getFinalEndpoint(String url, NetworkState state) {
if (url.length > 0) return url;
return state.apiEndpoint.value;
}