nextNextRoadInformation property

List<RoadInfo> get nextNextRoadInformation

Road information two segments ahead.

Returns detailed information about the road after the next-next turn, including official road designations and shield types. Complements nextNextStreetName with additional metadata.

Returns

  • (List<RoadInfo>) Next-next road information list.

See also:

Implementation

List<RoadInfo> get nextNextRoadInformation {
  final OperationResult resultString = objectMethod(
    pointerId,
    'NavigationInstruction',
    'getNextNextRoadInformation',
  );

  final List<RoadInfo> list = (resultString['result'] as List<dynamic>)
      .map((final dynamic e) => RoadInfo.fromJson(e))
      .toList();
  return list;
}