startListening static method
Set a callback block for a specific geo-event
Implementation
static void startListening(GeolocationEvent event, GeofenceCallback entry) {
switch (event) {
case GeolocationEvent.entry:
_entryCallback = entry;
break;
case GeolocationEvent.exit:
_exitCallback = entry;
break;
}
}