build method

ApexClient build()

Call this method at the end of the ApexClient configuration to get the ApexClient's instance.

Implementation

ApexClient build() {
  // add
  _client._responseMiddleware.addNext(Middleware());
  _client._requestMiddleware.addNext(Middleware());
  return _client;
}