EkoPayu constructor

EkoPayu({
  1. Void onSuccess(
    1. dynamic
    )?,
  2. Void onError(
    1. dynamic
    )?,
  3. Void onCancel(
    1. dynamic
    )?,
  4. Void onFailure(
    1. dynamic
    )?,
  5. Future<String> hashGenerate(
    1. String?
    )?,
})

Implementation

EkoPayu(
    {this.onSuccess,
    this.onError,
    this.onCancel,
    this.onFailure,
    this.hashGenerate}) {
  _channel.setMethodCallHandler(nativeMethodCallHandler);
}