verificationWithAtsign method
Implementation
Future<dynamic> verificationWithAtsign(
String atsign, String verificationCode) async {
// if init was not called earlier, call here to initialize the http
if (!initialized) {
_init();
}
String path = AppConstants.apiPath + AppConstants.validationWithAtsign;
Map data = {'atsign': "$atsign", 'otp': "$verificationCode"};
var response = await postRequest(path, data);
return response;
}