openWallet static method

Future<void> openWallet({
  1. NudgeConfiguration? nudgeConfiguration = null,
  2. bool autoclosewebview = false,
})

Implementation

static Future<void> openWallet(
    {NudgeConfiguration? nudgeConfiguration = null,
    bool autoclosewebview = false}) async {
  // return await _channel.invokeMethod('openWallet', autoclosewebview);
  if (null == nudgeConfiguration) {
    nudgeConfiguration = NudgeConfiguration();
    nudgeConfiguration.closeOnDeepLink = autoclosewebview;
  }
  Map<String, dynamic> nudgeData = nudgeConfiguration.asMap();

  return await _channel.invokeMethod('openWallet', nudgeData);
}