setup static method
Setup HyperPay instance with the required stuff to make a successful payment transaction.
Implementation
static Future<HyperpayPlugin> setup({required HyperpayConfig config}) async {
await _channel.invokeMethod(
'setup_service',
{
'mode': config.paymentMode.string,
},
);
return HyperpayPlugin._(config);
}