findEvent method

IEvent? findEvent(
  1. String eventName
)

Searches for an event by its name in this command set.

  • eventName the name of the event to search for. Returns the event, whose name matches the provided name. See IEvent

Implementation

/// - [eventName] the name of the event to search for.
/// Returns the event, whose name matches the provided name.

/// See [IEvent]

IEvent? findEvent(String eventName) {
  return _eventsByName[eventName];
}