BackendActionInitializer<Event> class

Helper class to register Backend's actions

Annotations
  • @immutable

Constructors

BackendActionInitializer({required Backend backend, required Event? event, required Type? eventType})
Helper class to register Backend's actions
const

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
run<Request, Response>(BackendAction<Event, Request, Response> backendAction) → void
This method finishes registration of Backend's actions
runSimple<Request, Response>(SimpleBackendAction<Request, Response> backendAction) → void
This method finishes registration of Backend's simple actions with data-argument
runVoid<Response>(VoidBackendAction<Response> backendAction) → void
This method finishes registration of Backend's simple actions without data-argument
toString() String
A string representation of this object.
inherited

Operators

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