EventSubscriptionHandler typedef

EventSubscriptionHandler = Future<void> Function({Object? data, int? formIndex, Map<String, Object>? uriVariables})

A function that is called when an external request for subscribing to an Event is received and defines what to do with such requests.

Implementation

typedef EventSubscriptionHandler = Future<void> Function({
  int? formIndex,
  Map<String, Object>? uriVariables,
  Object? data,
});