getPurchaseList static method
dynamic
getPurchaseList()
Implementation
static getPurchaseList() async {
String url = "${AppUrls.baseUrlVSMS}/subscriber/v1/purchase";
final response = await _dio!.get(url);
if (response.data['errorcode'] == null) {
String data = jsonEncode(response.data);
return data;
} else {
return "";
}
}