getPlatformPayEngine function

IPayEngine? getPlatformPayEngine(
  1. String type,
  2. PayEngineConfig config,
  3. Map<String, String> params,
  4. dynamic onEvent(
    1. Map<String, dynamic>
    )?,
)

Implementation

view_interface.IPayEngine? getPlatformPayEngine(
    String type,
    PayEngineConfig config,
    Map<String, String> params,
    Function(Map<String, dynamic>)? onEvent) {
  return PayEngineWeb(
      type: type, config: config, params: params, onEvent: onEvent);
}