patchMobileAnalysisV2 static method

Future<OverviewKey> patchMobileAnalysisV2({
  1. required String publicKey,
  2. required String overviewkey,
  3. String? phoneNumber,
  4. String? bvn,
})

Implementation

static Future<OverviewKey> patchMobileAnalysisV2({
  required String publicKey,
  required String overviewkey,
  String? phoneNumber,
  String? bvn,
}) async {
  try {
    final String response =
        await _channel.invokeMethod('patchMobileAnalysis', {
      "publicKey": publicKey,
      "overviewkey": overviewkey,
      'phoneNumber': phoneNumber,
      "bvn": bvn,
    });
    return overviewKeyFromJson(response);
  } on FormatException catch (_) {
    rethrow;
  } on HttpException catch (e) {
    rethrow;
  } catch (e) {
    rethrow;
  }
}