RocketFactory class

Create the SamFactory that can be used to make a working SamModel.

The SamFactory.formatPattern() override is used to add the specific actions, states and signals.

Inheritance
  • Object
  • SamFactory
  • RocketFactory

Constructors

RocketFactory(Object enums)

Properties

enums ↔ List
Storage for valid names associated with model
read / write, inherited
enumTypes ↔ List<Type>
Storage for valid types associated with model. [...]
read / write, inherited
hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

decrementCtr(covariant Rocket sm) → void
Handler for timer expiration [...]
formatTrifecta(SamAction sa, SamState ss, SamView sv) → void
The specific method for the RocketFactory subclass. [...]
override
getTickCounter(covariant Rocket sm, dynamic ctr) → Widget
Return the widget that displays the counter value. [...]
napPrepReady(covariant Rocket sm, SamReq req) → void
Handler when model enters RK.ssReady state. [...]
napStartTimer(covariant Rocket sm, SamReq req) → void
Handler when model enters RK.ssCounting or RK.ssWaiting state. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
saDecrement(covariant Rocket sm, SamReq req) → void
Handle action RK.saDecrement [...]
saRestartCtr(covariant Rocket sm, SamReq req) → void
Handle action RK.saRestartCtr [...]
saStartCtr(covariant Rocket sm, SamReq req) → void
Handle action RK.saStartCtr [...]
ssReady(covariant Rocket sm) → Widget
Return widget tree for RK.ssReady state. [...]
toString() → String
Returns a string representation of this object.
inherited

Operators

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