Event.source constructor

Event.source({
  1. required String name,
  2. required String source,
  3. Map<String, Object> parameters = const {},
  4. required EventLogger logger,
})

Create an event, providing the source yourself.

Implementation

Event.source({
  required String name,
  required String source,
  Map<String, Object> parameters = const {},
  required EventLogger logger,
}) : this._(name.trim(), source.trim(), parameters, logger);