JsonSerializableConverter class

Constructors

JsonSerializableConverter(Map<Type, JsonFactory> factories)
const

Properties

factories Map<Type, JsonFactory>
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

convertError<BodyType, InnerType>(Response response) FutureOr<Response>
Converts the received Response to a Response which has a body with the HTTP representation of the original body.
inherited
convertRequest(Request request) → Request
Converts the received Request to a Request which has a body with the HTTP representation of the original body.
inherited
convertResponse<ResultType, Item>(Response response) FutureOr<Response<ResultType>>
Converts the received Response to a Response which has a body of the type BodyType.
decodeJson<BodyType, InnerType>(Response response) FutureOr<Response>
inherited
encodeJson(Request request) → Request
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
tryDecodeJson(String data) FutureOr
inherited

Operators

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