addGeofence method
- Geofence geofence
override
Implementation
@override
Future<bool> addGeofence(Geofence geofence) async {
_methodCalls.add('addGeofence:${geofence.identifier}');
_geofences.removeWhere((g) => g.identifier == geofence.identifier);
_geofences.add(geofence);
return true;
}