StreetViewPanoramaLink.fromMap constructor

StreetViewPanoramaLink.fromMap(
  1. Map<String, dynamic> map
)

Create a StreetViewPanoramaLink and init data by a map.

Implementation

factory StreetViewPanoramaLink.fromMap(Map<String, dynamic> map) {
  return new StreetViewPanoramaLink(
    bearing: map['bearing'] as double?,
    panoId: map['panoId'] as String?,
  );
}