isTollRoad property
bool
get
isTollRoad
Whether this instruction involves a tolled road.
Returns
bool:truewhen the instruction corresponds to a toll-road segment.
Implementation
bool get isTollRoad {
final OperationResult resultString = objectMethod(
pointerId,
'RouteInstructionBase',
'isTollRoad',
);
return resultString['result'];
}