isCommon property

bool get isCommon

Whether this instruction belongs to a common-type segment (see RouteSegment.isCommon).

Returns

  • bool: true when the instruction is part of a segment whose travel mode matches the route.

Implementation

bool get isCommon {
  final OperationResult resultString = objectMethod(
    pointerId,
    'RouteInstructionBase',
    'isCommon',
  );

  return resultString['result'];
}