UpdateReservationResponse.fromJson constructor

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

Implementation

factory UpdateReservationResponse.fromJson(Map<String, dynamic> json) {
  return UpdateReservationResponse(
    reservation: json['reservation'] != null
        ? Reservation.fromJson(json['reservation'] as Map<String, dynamic>)
        : null,
  );
}