Snow.fromJson constructor Null safety
Implementation
factory Snow.fromJson(Map<String, dynamic> json) => Snow(
the1H: json["1h"]?.toDouble() ?? 0,
the3H: json["3h"]?.toDouble() ?? 0,
);
factory Snow.fromJson(Map<String, dynamic> json) => Snow(
the1H: json["1h"]?.toDouble() ?? 0,
the3H: json["3h"]?.toDouble() ?? 0,
);