LookAtModel.fromMap constructor
Returns a LookAtModel from the given map
.
Implementation
factory LookAtModel.fromMap(Map<String, dynamic> map) {
return LookAtModel(
longitude: map['lng'],
latitude: map['lat'],
altitude: map['altitude'],
range: map['range'],
tilt: map['tilt'],
heading: map['heading'],
altitudeMode: map['altitudeMode']);
}