useCurrency static method

void useCurrency(
  1. String currency
)

Sets the default currency code.

Implementation

static void useCurrency(String currency) => _defaultCurrency = currency;