event method

Event event(
  1. String name, {
  2. bool duringAppStart = false,
})

Implementation

Event event(String name, {bool duringAppStart = false}) {
  logging.info('event() - "name": $name, "duringAppStart": $duringAppStart');

  final String source;

  source = 'currentScreenName'; // Default screen name

  return Event.source(name: name, source: source, logger: this);
}