isMainRoute method
- Route route
Check if the route is the main route in the collection.
Parameters
- IN route The route to be checked
Returns
- True if the route is the main route in the collection
Throws
- An exception if it fails.
Implementation
bool isMainRoute(final Route route) {
final OperationResult resultString = objectMethod(
pointerId,
'MapViewRouteCollection',
'isMainRoute',
args: route.pointerId,
);
return resultString['result'];
}