transformer property Null safety

EventTransformer transformer
read / write

The default EventTransformer used for all event handlers. By default all events are processed concurrently.

If a custom transformer is specified for a particular event handler, it will take precendence over the global transformer.

See also:


static EventTransformer<dynamic> transformer = (events, mapper) {
  return events
      .transform<dynamic>(const _FlatMapStreamTransformer<dynamic>());