investmentDataResponseFromJson function

InvestmentDataResponse investmentDataResponseFromJson(
  1. String str
)

data : {"invest_type":{"id":"5","type":"1","name":"Buy","custom_date":"0","created_at":"1686226753","is_active":"1","is_deleted":"0","sort":"1","icon":"","master_user_id":"1"},"invest_time":{"id":"1","type":"0","name":"Immediately","custom_date":"0","created_at":"1686226753","is_active":"1","is_deleted":"0","sort":"1","isSelected":false,"master_user_id":"1"}} success : 1 message : "Records found."

Implementation

InvestmentDataResponse investmentDataResponseFromJson(String str) => InvestmentDataResponse.fromJson(json.decode(str));