completePresentCredential method
Implementation
Future<void> completePresentCredential(String cookie,String isAccepted, String url)async{
var header = {
"Cookie": cookie,
"Content-Type": "application/json",
"Accept": "application/json",
};
var body = jsonEncode({
"status": isAccepted ,
"url": url,
});
await http.post(
Uri.parse("${ApiConfig.baseUrl}holder/update-verified-transaction"),
headers: header,
body: body,
);
}