BasicApplication class abstract

Holds user interface and use cases.

  1. Registers events and use cases.
  2. Saves initial data to store.
  3. Publishes initial events.
  4. Initializes user interface.
  5. Runs user interface.
  6. Disposes user interface.
  7. Disposes bus.
Implemented types

Constructors

BasicApplication(UserInterface userInterface, EventBus eventBus)
const

Properties

eventBus EventBus
final
eventTransformers List<EventTransformer<Object, Object>>
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userInterface UserInterface
final

Methods

dispose() Future<Object?>
initialize() Future<Object?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run() Future<Object?>
toString() String
A string representation of this object.
inherited

Operators

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