SimpleEmitter<T> constructor

SimpleEmitter<T>({
  1. bool isSync = true,
  2. bool runInZone = true,
  3. SubscriptionChangeListener? onListen,
  4. SubscriptionChangeListener? onCancel,
})

Implementation

SimpleEmitter(
    {bool isSync = true,
    bool runInZone = true,
    SubscriptionChangeListener<dynamic>? onListen,
    SubscriptionChangeListener<dynamic>? onCancel})
    : super.broadcast(
          isSync: isSync,
          runInZone: runInZone,
          onListen: onListen,
          onCancel: onCancel);