PurchaseOfferingResponse.fromJson constructor

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

Implementation

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