NetDecoder class abstract

Response 解码器 把 Response 转换成对应类型

Constructors

NetDecoder()

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

decode<T, K>({required Response response, T? decodeType}) → K
解码 response Response responseType 解码类型 T BaseNetworkModel的实现 K 返回类型
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