DevToolsAction class

In order to modify the DevToolsState, you must dispatch a DevToolsAction. Do not dispatch a DevToolsAction to modify your normal application state.

The DevToolsAction will be sent to the DevToolsReducer, which will update the DevToolsState in response.

The DevToolsActions should only be dispatched when building a Dev Tools UI or when you manually want to jump between app states contained within the DevToolsState.

Constructors

DevToolsAction.init()
factory
DevToolsAction.jumpToState(int index)
factory
DevToolsAction.perform(dynamic appAction)
factory
DevToolsAction.recompute()
factory
DevToolsAction.reset()
factory
DevToolsAction.save()
factory

Properties

appAction → dynamic
final
hashCode int
The hash code for this object.
no setteroverride
position int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type DevToolsActionTypes
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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