getReimbursementData method
Future
getReimbursementData(
{ - dynamic packageId,
- dynamic reimbursmentType,
})
Implementation
Future getReimbursementData({packageId, reimbursmentType}) async {
var decodedResponse;
final response = await http.get(
Uri.parse(
'${medicine_API}api/fetch-reimbursement-details?package_id=$packageId&reimbursement_type=$reimbursmentType'),
headers: {"Authorization": currentUserToken});
decodedResponse = json.decode(response.body);
getReimbursementDetails = decodedResponse['data'];
}