fetchData method

Future<DataResponseCheckout> fetchData(
  1. String transactionNo,
  2. String refererKey
)

Implementation

Future<DataResponseCheckout> fetchData(
    String transactionNo, String refererKey) {
  if (_responseCheckoutData == null) {
    _responseCheckoutData = fetchDataFromApi(transactionNo, refererKey);
  }
  return _responseCheckoutData!;
}