Creates an AppEvent with the given name and optional dimensions.
AppEvent(this.eventName, [this.dimensions = const {}]);