MicroAppEventHandler<T> constructor
const
MicroAppEventHandler<T> (
- MicroAppEventOnEvent onEvent, {
- MicroAppEventOnDone? onDone,
- MicroAppEventOnError? onError,
- bool? cancelOnError,
- List<
String> channels = const [], - String? id,
- bool distinct = true,
- String? parentName,
Implementation
const MicroAppEventHandler(this.onEvent,
{this.onDone,
this.onError,
this.cancelOnError,
List<String> channels = const [],
this.id,
this.distinct = true,
this.parentName})
: super(channels);