ExchangeFormatClient<SettingType> class

Constructors

ExchangeFormatClient(String serverBaseUrl, SettingType settings)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverBaseUrl String
getter/setter pair
settings ↔ SettingType
getter/setter pair

Methods

exchangeForInfo<Request, ResponseDataSuccess, ResponseDataFailed, RequestSerialized, ResponseDataSuccessSerialized, ResponseDataFailedSerialized>(ExchangeFormat<Request, ResponseDataSuccess, ResponseDataFailed, RequestSerialized, ResponseDataSuccessSerialized, ResponseDataFailedSerialized, SettingType> exchangeFormat, Request requestParameter, {required Map<String, dynamic>? requestSerializedToMap(RequestSerialized reqSerialized)}) Future<ExchangeResponse<ResponseDataSuccess, ResponseDataFailed>>
Exchange request for info Possiblely can throw anything that http.get, http.put, http.post, http.patch, http.delete throws Other than those that throws, a valid ExchangeResponse will always be returned, even if there's an error on the server side. Note that if using the 'get' http method, only one level of parameters will be supported.
exchangeForInfoWithRequestSerializableToMap<Request, ResponseDataSuccess, ResponseDataFailed, ResponseDataSuccessSerialized, ResponseDataFailedSerialized>(ExchangeFormat<Request, ResponseDataSuccess, ResponseDataFailed, Map<String, dynamic>, ResponseDataSuccessSerialized, ResponseDataFailedSerialized, SettingType> exchangeFormat, Request requestParameter) Future<ExchangeResponse<ResponseDataSuccess, ResponseDataFailed>>
Exchange request for info Possiblely can throw anything that http.get, http.put, http.post, http.patch, http.delete throws Other than those that throws, a valid ExchangeResponse will always be returned, even if there's an error on the server side. Note that if using the 'get' http method, only one level of parameters will be supported.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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