runtime library Null safety

Classes

CentralStationRuntime
Command
Command can be object, but if the actual command extend this Command, the runtime property will be set during execution.
EventHandler
register event handler to runtime
SimpleEventHandler
Simple Event Handler (Type/Handler)

Functions

dispatchEvent(dynamic event) → dynamic
exposed as public event sending point

Typedefs

CommandHandler = Stream Function(dynamic command)
command handler definition, should return a stream
EventHandlerFunc = void Function(dynamic event)
Event Handler Function