verifyUser static method

Future verifyUser({
  1. required String email,
  2. required String phone,
})

Implementation

static Future<dynamic> verifyUser(
    {required String email, required String phone}) async {
  String? url;
  if (email.isEmpty) {
    url = "${AppUrls.baseUrlVSMS}/subscriberv2/v1/verifyuser?mobileno=$phone";
  } else {
    url = "${AppUrls.baseUrlVSMS}/subscriberv2/v1/verifyuser?email=$email";
  }
  final response = await _dio!.get(url);
  return response.data;
}