getTaxList function
Implementation
Future<List<TaxData>> getTaxList() async {
try {
TaxListResponse res = TaxListResponse.fromMap(
await (handleResponse(await buildHttpResponse('tax-list', method: HttpMethod.GET))),
);
appStore.setLoading(false);
return await res.data!.taxData.validate();
} catch (e) {
appStore.setLoading(false);
throw e;
}
}