CommandFactory class abstract

construct Command instance from the received Message data. this class has message dictionary. it could register and read from other class. in default, that dictionary registered default command.

Constructors

CommandFactory()

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

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

Operators

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

Static Properties

commandList List<Command>
no setter
getCommandSpy Command?
getter/setter pair
isTest bool
getter/setter pair

Static Methods

clearCommands() → void
getCommand(Message receivedData) Command?
registerCommand(Command command) → void
setGetCommandSpy(Command? command) → void
setupTest() → void
teardownTest() → void