StreetViewPanoramaOrientation.fromMap constructor

StreetViewPanoramaOrientation.fromMap(
  1. dynamic map
)

Create StreetViewPanoramaOrientation and put data by map.

Implementation

factory StreetViewPanoramaOrientation.fromMap(dynamic map) {
  return new StreetViewPanoramaOrientation(
    bearing: map['bearing'] as double?,
    tilt: map['tilt'] as double?,
  );
}