setStreetNamesEnabled method
Sets street view to display street name or not.
Return Future while the change has been made on the platform side.
Implementation
Future<void> setStreetNamesEnabled(bool enable) {
if (enable == _isStreetNamesEnabled) return Future.delayed(Duration.zero);
return _streetViewFlutterPlatform
.setStreetNamesEnabled(viewId, enable: enable)
.then((value) => _isStreetNamesEnabled = enable);
}