CartForBooking.fromJson constructor

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

Implementation

CartForBooking.fromJson(Map<String, dynamic> json) {
  sId = json['_id'];
  pack = json['pack'] != null ? new BookingPack.fromJson(json['pack']) : null;
  set = json['set'] != null ? new Set.fromJson(json['set']) : null;
  sTypename = json['__typename'];
}