DataCallHttp constructor

DataCallHttp({
  1. String? baseURL,
  2. HttpClient? client,
  3. HttpMethod method = HttpMethod.GET,
  4. String path = '',
  5. bool fullPath = false,
  6. Object? parametersPattern,
  7. Object? body,
  8. int maxRetries = 0,
})

Implementation

DataCallHttp(
    {String? baseURL,
    HttpClient? client,
    HttpMethod method = HttpMethod.GET,
    String path = '',
    bool fullPath = false,
    Object? parametersPattern,
    Object? body,
    int maxRetries = 0})
    : parametersPattern = toParametersPattern(parametersPattern),
      super(
          baseURL: baseURL,
          client: client,
          method: method,
          path: path,
          fullPath: fullPath,
          body: body,
          maxRetries: maxRetries);