setSpendCurrencyHandler method Null safety

void setSpendCurrencyHandler(
  1. TJSpendCurrencyHandler handler
)

set Spend currency handler which returns String currencyName, int amount, String error

Implementation

void setSpendCurrencyHandler(TJSpendCurrencyHandler handler) {
  _spendCurrencyHandler = handler;
}