FutureHookResult class

状态加手动执行函数

Constructors

FutureHookResult({bool loading = false})
构建

Properties

data ↔ dynamic
返回数据
getter/setter pair
error Error?
service 抛出的异常
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
loading bool
service 是否正在执行
getter/setter pair
params ↔ dynamic
当次执行的 service 的参数数组
getter/setter pair
refresh ↔ dynamic Function()
使用上一次的 params,重新执行 service
getter/setter pair
run ↔ dynamic Function([dynamic params])
手动触发 service 执行,参数会传递给 service
getter/setter pair
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
toString() String
A string representation of this object.
inherited

Operators

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