DataSourceOperationHttp<T> class

Constructors

DataSourceOperationHttp(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})

Properties

baseURL String?
getter/setter pair
baseURLProxy String?
getter/setter pair
body Object?
getter/setter pair
client HttpClient?
getter/setter pair
fullPath bool
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
httpConfig DataCallHttp?
no setter
httpConfigBaseURL String?
no setter
jsonTransformer ↔ JSONTransformer?
getter/setter pair
method HttpMethod
getter/setter pair
operation DataSourceOperation?
final
parameters Object?
getter/setter pair
path String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
samples Map<String, dynamic>?
getter/setter pair
transformResponse DataTransformerTo<T>?
getter/setter pair

Methods

call(Map<String, dynamic>? parameters) Future<T?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson([bool withIndent = false]) String
toJsonMap() Map?
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override

Static Methods

from(Object? config) DataSourceOperationHttp?