add method
Implementation
void add(HttpOptionalConfig other) {
headers.addAll(other.headers ?? {});
baseURL = other.baseURL ?? baseURL;
timeout = other.timeout ?? timeout;
cachePolicy = other.cachePolicy ?? cachePolicy;
logURL = other.logURL ?? logURL;
logRequestHeader = other.logRequestHeader ?? logRequestHeader;
logRespondHeader = other.logRespondHeader ?? logRespondHeader;
logRespondBody = other.logRespondBody ?? logRespondBody;
sendDebugId = other.sendDebugId ?? sendDebugId;
enableAuthLock = other.enableAuthLock ?? enableAuthLock;
}