generateMobileAnalysisV1 static method
Implementation
static Future<String> generateMobileAnalysisV1({
required String publicKey,
required String phoneNumber,
required String bvn,
}) async {
try {
final String response =
await _channel.invokeMethod('generateMobileDataAnalysis', {
"publicKey": publicKey,
'phoneNumber': phoneNumber,
'endpoint': '/mobile/analytics',
});
return response;
} on FormatException catch (_) {
rethrow;
} on HttpException catch (_) {
rethrow;
} catch (e) {
rethrow;
}
}