dataFromJson function

InquiryDetailsData dataFromJson(
  1. String str
)

id : "31692" user_id : "12572" inquiry_from : "admin" project_id : "47" user_type : "N" client_first_name : "Ravi" client_last_name : "Patel" email_address : "ravi@coronation.in" client_contact_no : "91 8469940500" client_secondary_contact_no : "" cp_first_name : "pratik kalariya" cp_last_name : "" cp_contact_no : "91 8877258877" cp_data : {"user_id":"51301","first_name":"pratik kalariya","last_name":""} remarks : "" lead_source : "Facebook" lead_sub_source : "Facebook Forms" lead_budget : "1.0Cr - 1.5Cr" lead_priority : "Hot" lead_area : "500 - 1500 Sq.ft" lead_category : "Residential" lead_type : "Buy" lead_unit_type : "3 Bhk" secondary_project_ids : "35","2","4"

Implementation

InquiryDetailsData dataFromJson(String str) => InquiryDetailsData.fromJson(json.decode(str));