hideLabel method
Hide the label for route.
Use this method to programmatically remove the visible label from a route previously added to the collection.
Parameters
route: route whose label will be hidden.
Also see:
- clear — Remove all routes from the collection.
Implementation
void hideLabel(final Route route) {
objectMethod(
pointerId,
'MapViewRouteCollection',
'hideLabel',
args: route.pointerId,
dependencyId: mapPointerId,
);
}