restClient static method

dynamic restClient(
  1. Dio dio
)

Get the standalone rest client

This should be used when you want standalone rest client

You should configure your dio client before passing to this method

Configuring can mean adding interceptors, headers, baseUrl, logging, etc

Implementation

static restClient(Dio dio) {
  return FlutterFeathersjsRest(dio);
}