StreetViewSource$cast function

StreetViewSource? StreetViewSource$cast(
  1. dynamic value
)

Implementation

StreetViewSource? StreetViewSource$cast(value) {
  if (value == StreetViewSource.DEFAULT) return StreetViewSource.DEFAULT;
  if (value == StreetViewSource.OUTDOOR) return StreetViewSource.OUTDOOR;
  return null;
}