SatelliteListItem.fromJson constructor
Implementation
factory SatelliteListItem.fromJson(Map<String, dynamic> json) {
return SatelliteListItem(
groundStations: (json['groundStations'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
noradSatelliteID: json['noradSatelliteID'] as int?,
satelliteArn: json['satelliteArn'] as String?,
satelliteId: json['satelliteId'] as String?,
);
}