virtualCurrency method

Future<int> virtualCurrency(
  1. String code
)

One virtual-currency balance by code from the local cache (0 when the code is unknown — never an error). Same cache-read and re-entrancy footgun as virtualCurrencies.

Implementation

Future<int> virtualCurrency(String code) => _platform.virtualCurrency(code);