dominantRoads property
Dominant road names along the route.
A road is considered dominant when it covers a significant portion of the route length.
Returns
List<String>: a list of dominant road names. If a road has multiple names they will be joined as'name1 / name2 / ...'.
Implementation
List<String> get dominantRoads {
final OperationResult resultString = objectMethod(
pointerId,
'RouteBase',
'getDominantRoads',
);
return (resultString['result'] as List<dynamic>)
.map((final dynamic e) => e as String)
.toList();
}