setGetCurrencyBalanceHandler method Null safety

void setGetCurrencyBalanceHandler(
  1. TJGetCurrencyBalanceHandler handler
)

set Get currency Balance handler which returns String currencyName, int amount, String error

Implementation

void setGetCurrencyBalanceHandler(TJGetCurrencyBalanceHandler handler) {
  _getCurrencyBalanceHandler = handler;
}