DefaultTransformer class
- Inheritance
-
- Object
- Transformer
- DefaultTransformer
Constructors
- DefaultTransformer({JsonDecodeCallback? jsonDecodeCallback})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- jsonDecodeCallback ↔ JsonDecodeCallback?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
transformRequest(
RequestOptions options) → Future< String> -
transformRequest
allows changes to the request data before it is sent to the server, but after theRequestInterceptor
.override -
transformResponse(
RequestOptions options, ResponseBody response) → Future -
As an agreement, we return the
response
when the Options.responseType is ResponseType.stream.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited