Fires an event with the specified name to the native side.
name
Future<void> fireEvent(String name) async { await _invokeMethod('fireEvent', {"eventName": name}, "Failed to fire event"); }