ReduxBackgroundTaskPlugin<TState extends ReduxState> class

ReduxStoreのBackground動作を行う.

Inheritance

Constructors

ReduxBackgroundTaskPlugin()

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

addTask(ReduxBackgroundTask<TState> task) → void
実行対象のタスクを追加する
dispose() Future
override
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命令が発行された.
override
onRegistered(ReduxStore<TState> store) → void
StoreへPluginが登録された.
inherited
onStateChanged(ReduxStore<TState> store, ReduxAction<TState> action, TState oldState, TState newState) → void
Stateが実際に反映されたタイミングで呼び出される.
override
onUnregistered(ReduxStore<TState> store) → void
Storeから登録解除された dispose()の直前にも呼び出される.
inherited
removeTask(ReduxBackgroundTask<TState> task, {required bool withDispose}) → void
実行対象のタスクを削除する
toString() String
A string representation of this object.
inherited

Operators

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