StreetViewPreference$cast function
Implementation
StreetViewPreference? StreetViewPreference$cast(value) {
if (value == StreetViewPreference.BEST) return StreetViewPreference.BEST;
if (value == StreetViewPreference.NEAREST)
return StreetViewPreference.NEAREST;
return null;
}