getSubscriber static method
Implementation
static Future<String> getSubscriber() async {
String url = "${AppUrls.baseUrlVSMS}/subscriber/v1/subscriber";
final response = await _dio!.get(url);
var data = response.data;
if (response.statusCode == 200) {
String subscriberData = jsonEncode(data);
return subscriberData;
}
return "";
}