SorobanServer.withDio constructor
Constructor for testing with a custom Dio instance.
Implementation
@visibleForTesting
SorobanServer.withDio(this._serverUrl, this._dio) {
_headers = {...RequestBuilder.headers};
_headers.putIfAbsent("Content-Type", () => "application/json");
}