getSubcription static method
Implementation
static Future<String> getSubcription() async {
String endpoint = "${AppUrls.baseUrlVSMS}/subscriberv2/v1/subscription";
final response = await _dio!.get(endpoint);
if (response.data['errorcode'] == null) {
String data = jsonEncode(response.data);
return data;
} else {
return AvailabilityService.notsubscribed;
}
}