DefaultTransformer class

Inheritance

Constructors

DefaultTransformer({JsonDecodeCallback jsonDecodeCallback})

Properties

jsonDecodeCallback JsonDecodeCallback
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

transformRequest(RequestOptions options) → Future<String>
transformRequest allows changes to the request data before it is sent to the server, but after the RequestInterceptor. [...]
override
transformResponse(RequestOptions options, ResponseBody response) → Future
As an agreement, you must return the response when the Options.responseType is ResponseType.stream.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited