fireEvent function

Future<void> fireEvent(
  1. String name
)

Fires an event with the specified name to the native side.

Implementation

Future<void> fireEvent(String name) async {
  await _invokeMethod('fireEvent', {"eventName": name}, "Failed to fire event");
}