SorobanServer constructor Null safety

SorobanServer(
  1. String _serverUrl
)

Constructor. Provide the url of the soroban rpc server to initialize this class.

Implementation

SorobanServer(this._serverUrl) {
  _headers = {...RequestBuilder.headers};
  _headers.putIfAbsent("Content-Type", () => "application/json");
}