updateDigitalWalletConfiguration method

Future<void> updateDigitalWalletConfiguration(
  1. DigitalWalletConfiguration configuration
)

Update the configuration settings for digital wallets.

This can be used to change configuration parameters for digital wallets. Calling this method will immediately invalidate digital wallet readiness and will cause the onDigitalWalletReady event to be called with a value of false

Once the new configuration is ready to be used, the onDigitalWalletReady event will be triggered again with a value of true.

If an error occurs a PlatformException will be thrown. The PlatformException.code property on the exception can be used to determine what went wrong and take appropriate action. The PlatformException.message property can be used to get more information about what went wrong

When a PlatformException is thrown, the PlatformException.code property will be one of the following:

Implementation

Future<void> updateDigitalWalletConfiguration(
  DigitalWalletConfiguration configuration,
) async {
  return await OloPaySdkPlatform.instance.updateDigitalWalletConfiguration(
    configuration,
  );
}