getEvent function

EventData getEvent(
  1. Events event,
  2. String source
)

Implementation

EventData getEvent(Events event, String source)  {
  return new EventData(event.index, event.nameValue, source);
}