HHLatch.custom constructor

HHLatch.custom({
  1. required String eventName,
  2. bool isPost = true,
  3. int priority = 0,
})

Implementation

factory HHLatch.custom({
  required String eventName,
  bool isPost = true,
  int priority = 0,
}) {
  return HHLatch(
    triggerType: TriggerType.custom,
    isPost: isPost,
    customEvent: eventName,
    priority: priority,
  );
}