onGeofence method
- void callback(), {
- Function? onError,
override
Subscribes to geofence events.
Implementation
@override
StreamSubscription<GeofenceEvent> onGeofence(
void Function(GeofenceEvent) callback, {
Function? onError,
}) {
return _instance.onGeofence(callback, onError: onError);
}