You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pharmacy/lib/models/biddingrequest_model.dart

27 lines
735 B

import 'package:flutter/material.dart';
class BiddingRequestsModel {
String custumerid_bidding = '';
String pharmacyid_bidding='';
String amount_bidding='';
String bidding_bookingid='';
Color cardColor=Colors.white;
BiddingRequestsModel();
factory BiddingRequestsModel.fromJson(Map<String, dynamic> json){
BiddingRequestsModel rtvm = new BiddingRequestsModel();
rtvm.custumerid_bidding = json['customerId'].toString() ??'';
rtvm.pharmacyid_bidding = json['pharmacyId'].toString() ?? '';
rtvm.amount_bidding = json['biddingAmount'].toString() ?? '';
rtvm.bidding_bookingid = json['bookingId'].toString() ?? '';
// rtvm.prescription_url = json['pictureUrl'][0] ?? '';
return rtvm;
}
}