models/background_task_handlers library
Typedefs
-
BackgroundTriggerHandler
= Future<
bool> Function(String zoneId, GeofenceEventType triggerType) - Function that executes your background trigger. You should return whether the task ran successfully or not.