SimpleEmitter<T> constructor
SimpleEmitter<T> ({
- bool isSync = true,
- bool runInZone = true,
- SubscriptionChangeListener? onListen,
- 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);