SolarElevationAngle.fromMap constructor Null safety

SolarElevationAngle.fromMap(
  1. Map map
)

Implementation

SolarElevationAngle.fromMap(Map<dynamic, dynamic> map) {
  solarElevationAngle = map['solarElevationAngle'] as String;
  solarAzimuthAngle = map['solarAzimuthAngle'] as String;
  solarHour = map['solarHour'] as String;
  hourAngle = map['hourAngle'] as String;
}