ExchangeFormatClient<SettingType> class
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