toMap method
Put all param to a map
Implementation
Map<String, dynamic> toMap() {
final Map<String, dynamic> map = <String, dynamic>{};
putToMapIfNonNull(map, 'bearing', this.bearing);
putToMapIfNonNull(map, 'tilt', this.tilt);
return map;
}