ReduxPlugin<TState extends ReduxState> class
abstract
Redux Storeの各種タイミングでハンドリングを行う.
Actionとは違い、非同期処理やStateを変更することはできない. ReduxStore.dispose()の呼び出し時にReduxPlugin.dispose()が実行される.
- Implementers
Constructors
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
-
dispose(
) → Future -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onDispatch(
ReduxStore< TState> store, ReduxAction<TState> action, TState state) → void - StoreへDispatch命令が発行された.
-
onRegistered(
ReduxStore< TState> store) → void - StoreへPluginが登録された.
-
onStateChanged(
ReduxStore< TState> store, ReduxAction<TState> action, TState oldState, TState newState) → void - Stateが実際に反映されたタイミングで呼び出される.
-
onUnregistered(
ReduxStore< TState> store) → void - Storeから登録解除された dispose()の直前にも呼び出される.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited