onError method

EdfaCardPay onError(
  1. dynamic callback(
    1. dynamic response
    )
)

Implementation

EdfaCardPay onError(Function(dynamic response) callback){
  _onError = callback;
  return this;
}