get method

Currency? get(
  1. String code
)

Returns the currency with the given code. If the given code does not exist, then nil is returned.

Implementation

Currency? get(String code) {
  return _storage[code];
}