claimSubmissionUploadedDocList method
dynamic
claimSubmissionUploadedDocList()
Implementation
claimSubmissionUploadedDocList() async {
var checkStatusCode;
try {
http.Response response = await http.post(
Uri.parse('${choice_Base_Url}claim_submission_claim_docs_list_api'),
body: {
"intimation_id": ClaimSubmissionNumber.toString()
},
headers: {
"Authorization": choiceToken,
});
TokenRefresh(refreshtoken: response.headers['authorization'].toString());
checkStatusCode = response.statusCode;
var decodedResponse = await json.decode(response.body);
GetUploadedDocList = await decodedResponse;
} catch (err) {
AutoLogoutThreeTry();
if (checkStatusCode == 401) {
await claimSubmissionUploadedDocList();
(commonContext as Element).reassemble();
} else {}
}
}