SubscribeOptionsBase class
通用的订阅选项基类(success / fail / complete 回调)
- Implementers
Constructors
- SubscribeOptionsBase({void success()?, void fail(String errMsg)?, void complete(String errMsg)?})
-
const
Properties
- complete → void Function(String errMsg)?
-
完成回调(成功或失败都会调用)
final
- fail → void Function(String errMsg)?
-
订阅失败回调
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- success → void Function()?
-
订阅成功回调
final
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