BackgroundTransformer class
BackgroundTransformer will do the deserialization of JSON in a background isolate if possible.
- Inheritance
-
- Object
- Transformer
- SyncTransformer
- BackgroundTransformer
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- jsonDecodeCallback ↔ JsonDecodeCallback
-
read / writeinherited
- jsonEncodeCallback ↔ JsonEncodeCallback
-
read / writeinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
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 the
RequestInterceptor
.inherited -
transformResponse(
RequestOptions options, ResponseBody response) → Future -
As an agreement, we return the
response
when the Options.responseType is ResponseType.stream.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited