avoidGeofenceAreas property

List<String> get avoidGeofenceAreas

Get the geofence area avoidance ids list

Implementation

List<String> get avoidGeofenceAreas {
  final OperationResult resultString = objectMethod(
    pointerId,
    'RoutePrefWrapper',
    'getAvoidGeofenceAreas',
  );
  return resultString['result'].cast<String>();
}
set avoidGeofenceAreas (List<String> value)

Set avoidance of the given geofence area ids

Send an empty list to disable geofence anti area avoidance

Parameters

  • value: The geofence area ids to avoid

Implementation

set avoidGeofenceAreas(final List<String> value) {
  objectMethod(
    pointerId,
    'RoutePrefWrapper',
    'avoidGeofenceAreas',
    args: value,
  );
}