CustomParser<T> class
自定义解析器 - 使用自定义函数解析数据
- Implemented types
-
- DataParser<
T>
- DataParser<
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