build method
Call this method at the end of the RestClient configuration to get the RestClient's instance.
Implementation
RestClient build() {
// add
_client._responseMiddleware.addNext(RestMiddleware());
_client._requestMiddleware.addNext(RestMiddleware());
return _client;
}