ListGroundStationsResponse.fromJson constructor

ListGroundStationsResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ListGroundStationsResponse.fromJson(Map<String, dynamic> json) {
  return ListGroundStationsResponse(
    groundStationList: (json['groundStationList'] as List?)
        ?.whereNotNull()
        .map((e) => GroundStationData.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['nextToken'] as String?,
  );
}