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<dynamic> res = resultString['result'];
  final List<RoadInfo> retList = res
      .map((dynamic e) => RoadInfo.fromJson(e))
      .toList();
  return retList;
}