TJGetCurrencyBalanceHandler typedef Null safety

TJGetCurrencyBalanceHandler = void Function(String? currencyName, int? amount, String? error)

GetCurrencyBalanceHandler returns String currencyName, int amount, String error if function is successful , error is null if function fails, currencyName & amount are null

Implementation

typedef void TJGetCurrencyBalanceHandler(
    String? currencyName, int? amount, String? error);