fromJson method

  1. @override
List<SunPerDay>? fromJson(
  1. Map<String, dynamic> json
)

Implementation

@override
List<SunPerDay>? fromJson(Map<String, dynamic> json) {
  return parseList(json.values, (dynamic e) => SunPerDay.fromJson(e));
}