CustomParser<T> class

自定义解析器 - 使用自定义函数解析数据

Implemented types

Constructors

CustomParser(T parser(dynamic rawData))

Properties

hashCode int
The hash code for this object.
no setterinherited
parser → T Function(dynamic rawData)
自定义解析函数
final
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
parse(dynamic rawData) → T
解析数据 rawData 原始响应数据 返回解析后的目标数据
override
toString() String
A string representation of this object.
inherited

Operators

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