Commander configuration : map Request to CommandBuilder

Constructors

CommanderConfig(Map<A, CommandBuilder> map)

RequestTypes / CommandBuilders mapping injection

Properties

hashCode → int

Get a hash code for this object.

read-only, inherited
map → Map<A, CommandBuilder>

map of RequestType : Command<AbstractModel>

read / write
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) → bool

The equality operator.

inherited
operator [](key) CommandBuilder

Methods

addHandler(Request a, CommandBuilder constructor) → void

add post constructor

getCommand(A type) CommandBuilder

return a Command constructor proxy from a (generic) ActionType

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() → String

Returns a string representation of this object.

inherited