removePOI method

Future<bool> removePOI({
  1. required String groupName,
})

Build the Route Used for the Navigation

wayPoints must not be null. A collection of WayPoint(longitude, latitude and name). Must be at least 2 or at most 25. Cannot use drivingWithTraffic mode if more than 3-waypoints. options options used to generate the route and used while navigating

Implementation

Future<bool> removePOI({required String groupName}) async {
  Map<String, dynamic> args = Map<String, dynamic>();
  args["group"] = groupName;

  return await _methodChannel
      .invokeMethod('removePOIs', args)
      .then<bool>((dynamic result) => result);
}