DataSourceOperationHttp<T> constructor

DataSourceOperationHttp<T>(
  1. DataSourceOperation? operation, {
  2. String? baseURL,
  3. String? baseURLProxy,
  4. HttpClient? client,
  5. HttpMethod method = HttpMethod.GET,
  6. String path = '',
  7. bool fullPath = false,
  8. Object? parameters,
  9. Object? body,
  10. DataTransformerTo<T>? transformResponse,
  11. Object? jsonTransformer,
  12. Map<String, dynamic>? samples,
})

Implementation

DataSourceOperationHttp(this.operation,
    {this.baseURL,
    this.baseURLProxy,
    this.client,
    this.method = HttpMethod.GET,
    this.path = '',
    this.fullPath = false,
    this.parameters,
    this.body,
    this.transformResponse,
    Object? jsonTransformer,
    this.samples})
    : jsonTransformer = JSONTransformer.from(jsonTransformer);