ListReservationsResponse.fromJson constructor
Implementation
factory ListReservationsResponse.fromJson(Map<String, dynamic> json) {
return ListReservationsResponse(
nextToken: json['nextToken'] as String?,
reservations: (json['reservations'] as List?)
?.whereNotNull()
.map((e) => Reservation.fromJson(e as Map<String, dynamic>))
.toList(),
);
}