getFAQ method
dynamic
getFAQ()
Implementation
getFAQ() async {
http.Response response = await http
.get(Uri.parse('${SDK_BASE_URL}home_api/package_faq'), headers: {
"Authorization": SignUpController.currentUserToken,
});
var decodedResponse = json.decode(response.body);
FAQList = decodedResponse['faq'];
termsandConditionsData = decodedResponse['tnc'];
}