toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  final Map<String, dynamic> map = <String, dynamic>{};
  putToMapIfNonNull(map, 'bearing', this.bearing);
  putToMapIfNonNull(map, 'tilt', this.tilt);
  putToMapIfNonNull(map, 'zoom', this.zoom);
  putToMapIfNonNull(map, 'fov', this.fov);
  return map;
}