hasCode static method

bool hasCode(
  1. String code
)

Check if a currency with a specific code exists

Implementation

static bool hasCode(String code) {
  return fromCode(code) != null;
}