下面是响应如何得到这个数据在Flutter。我想得到图像文件路径的所有领域一样aadhaar,泛卡和企业所有权证明。我需要知道如何得到响应时,它是这样的结构?
{
"data": {
"pan": {
"verified": true,
"status": "Approve",
"comment": "ok",
"holder": "VISHWAJEET VIJAY KOLAPKAR",
"number": "DYPPK8990B",
"files": [...,...]
},
"aadhar": {
"verified": true,
"status": "Approved",
"comment": "ok",
"holder": "",
"number": "000000001112",
"address": "",
"dob": "Not available on aadhaar",
"gender": "MALE",
"files": [...,...]
},
"mobile": {
"verified": true,
"status": "In-Progress",
"comment": "",
"number": "9527796311",
"countryCode": "91",
"holder": "Aniket Ratnakar Baviskar",
"address": "Plot no.57,, Margashirsh sector, Datt chouk, Cidco, Nashik, Mh-422009",
"email": "baviskaranu@gmail.com"
},
"faceMatch": {
"verified": "true",
"status": "In-Progress",
"comment": "",
"holder": "Vodafone Vk",
"matchPercentage": "100.00%",
"message": "Verification completed with positive result",
"dob": "NA",
"files": [...,...]
},
"address": {
"status": "Approved",
"comment": "ok",
"verified": false,
"files": [...,...]
},
"bankStatement": {
"comment": "ok",
"status": "Approved",
"verified": false,
"files": [...,...]
},
"business": {
"documentNumber": "8877",
"documentType": "Board Resolution (for companies)",
"status": "Approved",
"verified": false,
"files": [...,...]
},
"financial": {
"comment": "ok",
"status": "Approved",
"verified": false,
"files": [...,...]
},
"gst": {
"verified": false,
"files": [...,...]
},
"ownership": {
"documentNumber": "55555",
"documentType": "Electricity Bill",
"status": "Approved",
"verified": false,
"files": [...,...]
},
"partnership": {
"comment": "ok",
"status": "Approved",
"verified": false,
"files": [...,...]
},
"vintage": {
"status": "Approved",
"verified": false,
"files": [...,...]
},
"storeImages": {
"comment": "ok",
"status": "Approved",
"verified": false,
"files": [...,...]
}
},
"status": true
}
1条答案
按热度按时间0md85ypi1#
在你得到数据后把它传给这个函数
它会将json解析为该对象
你可以把它当作
。