Event<T> constructor

Event<T>({
  1. bool sync = false,
})

Implementation

Event({bool sync = false})
    : _streamController = StreamController<T>.broadcast(sync: sync);