UpiTransactionResponse.ios constructor

UpiTransactionResponse.ios(
  1. bool result
)

iOS platform constructor.

Populates _status as per the result.

Implementation

UpiTransactionResponse.ios(bool result) {
  _status = result
      ? UpiTransactionStatus.launched
      : UpiTransactionStatus.failedToLaunch;
}