StreetViewPanoramaOrientation.fromMap constructor
StreetViewPanoramaOrientation.fromMap(
- 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?,
);
}