PDCustomRequestEncoder class

通过自定义回调实现的请求编码器。

Inheritance

Constructors

PDCustomRequestEncoder(FutureOr<PDRequest> _encoder(PDRequest request))
创建一个自定义编码器。
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

encode(PDRequest request) FutureOr<PDRequest>
编码请求并返回新的请求对象(可同步/异步)。
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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