isCommon property
bool
get
isCommon
Whether this segment is of the same travel mode as the parent route.
A segment is not common when its travel mode differs from the route (for example a walk segment inside a public transport route).
Returns
bool:truewhen the segment travel mode matches the route's travel mode;falseotherwise.
Implementation
bool get isCommon {
final OperationResult resultString = objectMethod(
pointerId,
'RouteSegmentBase',
'isCommon',
);
return resultString['result'];
}