nextNextRoadInformation property

List<RoadInfo> get nextNextRoadInformation

Get the next next road information.

Returns

  • The next next road information list reference

Throws

  • An exception if it fails.

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;
}