currentStreetName property

String get currentStreetName

Current street name.

Returns the name of the street the user is currently traveling on. May return an empty string if the street has no assigned name or if the information is unavailable.

Returns

  • (String) Street name, or empty string if not available.

See also:

Implementation

String get currentStreetName {
  final OperationResult resultString = objectMethod(
    pointerId,
    'NavigationInstruction',
    'getCurrentStreetName',
  );

  return resultString['result'];
}