DataSourceOperationHttp<T> constructor
DataSourceOperationHttp<T> (
- DataSourceOperation? operation, {
- String? baseURL,
- String? baseURLProxy,
- HttpClient? client,
- HttpMethod method = HttpMethod.GET,
- String path = '',
- bool fullPath = false,
- Object? parameters,
- Object? body,
- DataTransformerTo<
T> ? transformResponse, - Object? jsonTransformer,
- 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);