generateOtp method
Implementation
Future<void> generateOtp() async {
try {
return await restApi.whitelist(toJson());
} on PlatformException catch (e) {
return Future.error(e);
}
}
Future<void> generateOtp() async {
try {
return await restApi.whitelist(toJson());
} on PlatformException catch (e) {
return Future.error(e);
}
}