AddGoodsAction class

Inheritance

Constructors

AddGoodsAction(dynamic payload)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
module String
read / write, override
payload ↔ dynamic
read / write, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

doChildAction(Action action) → void
in one action's process method, if you want start another action follow closely, you can call this method. otherwise, don't !
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
process(Map moduleStore) Future
@param moduleStore the copy of module store your action's module indicates you can use this action's payload data, deal with it or fetch api or something else when finished , you need return a Map that tell me which property was modified of the module store eg. // outside you have a module store like this: { 'name': 'reaction' }; // once you wanner rename 'reaction' to 'flutter-reaction' doAction(RenameAction('flutter-reaction')); // then in the class RenameAction's process method, code is like: Future
override
toString() String
A string representation of this object. [...]
inherited

Operators

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