currentStreetName property
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:
- nextStreetName - Name of the next street.
- currentRoadInformation - Additional road details including official codes.
Implementation
String get currentStreetName {
final OperationResult resultString = objectMethod(
pointerId,
'NavigationInstruction',
'getCurrentStreetName',
);
return resultString['result'];
}