addParams method
Implementation
addParams( Map<String, String> mapParams) {
if (isIpNotEmpty()) {
if(_path!.isNotEmpty)
{
_url = addPath(_path);
}
else{
_url = ip;
}
mapParams.forEach((key, value) {
_url = '$_url?$key=$value';
});
} else {
throw 'empty ip, fill it! . ip= $ip';
}
}