MicroAppEventHandler<T> constructor

const MicroAppEventHandler<T>(
  1. MicroAppEventOnEvent onEvent, {
  2. MicroAppEventOnDone? onDone,
  3. MicroAppEventOnError? onError,
  4. bool? cancelOnError,
  5. List<String> channels = const [],
  6. String? id,
  7. bool distinct = true,
  8. 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);