init method

void init()

Initialize class

Implementation

void init() {
  _api = Dio(baseOptions);

  if (useInterceptors) {
    _addInterceptors();
  }
}