subscribeEvent abstract method

Future<Subscription> subscribeEvent(
  1. String eventName,
  2. InteractionListener listener, {
  3. ErrorListener? onError,
  4. int? formIndex,
  5. Map<String, Object>? uriVariables,
  6. Object? data,
})

Subscribes to an event with the given eventName.

Implementation

Future<Subscription> subscribeEvent(
  String eventName,
  InteractionListener listener, {
  ErrorListener? onError,
  int? formIndex,
  Map<String, Object>? uriVariables,
  Object? data,
});