toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'speed'] = this.speed;
json[r'direction'] = this.direction;
if (this.gusts != null) {
json[r'gusts'] = this.gusts;
} else {
json[r'gusts'] = null;
}
return json;
}