currency_exchange 0.1.0 copy "currency_exchange: ^0.1.0" to clipboard
currency_exchange: ^0.1.0 copied to clipboard

A Dart library for currency exchange and conversion using real-time exchange rates. Supports 150+ fiat currencies with a clean, stateless API.

0.1.0 #

  • Initial release
  • Support for 150+ fiat currencies (ISO-4217)
  • Fetch live exchange rates from open.er-api.com
  • Type-safe Currency enum
  • ExchangeRateSnapshot model with timestamp
  • CurrencyConverter utilities:
    • Get all rates from base currency
    • Get single rate for target currency
    • Convert amount to all currencies
    • Convert amount to specific currency
  • Optional in-memory caching with TTL
  • Comprehensive error handling:
    • UnsupportedCurrencyException
    • NetworkException
    • InvalidResponseException
  • Full DartDoc documentation
1
likes
160
points
77
downloads

Publisher

unverified uploader

Weekly Downloads

A Dart library for currency exchange and conversion using real-time exchange rates. Supports 150+ fiat currencies with a clean, stateless API.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

http

More

Packages that depend on currency_exchange