Skip to main content

Requirements

  • Dart SDK >=3.0.0
  • Works on Flutter (mobile, web, desktop) and Dart CLI

Install

Add to your pubspec.yaml:
Then run:
Or for Flutter projects:

First Call

Configuration

OptionTypeDefaultDescription
apiKeyString?nullYour API key (required for authenticated endpoints)
baseUrlStringProduction URLOverride for dev/staging environment
timeoutDurationDuration(seconds: 30)Per-request HTTP timeout
maxRetriesint3Retries on 429/5xx responses

Environment Variable

Never hardcode your API key in source code or commit it to version control.

Verify the Install