StreetViewPreference$cast function

StreetViewPreference? StreetViewPreference$cast(
  1. dynamic value
)

Implementation

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