darto_env 1.0.1 copy "darto_env: ^1.0.1" to clipboard
darto_env: ^1.0.1 copied to clipboard

Environment variable loader for Darto. Reads from .env files and Platform.environment with typed accessors.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add darto_env

With Flutter:

 $ flutter pub add darto_env

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  darto_env: ^1.0.1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:darto_env/darto_env.dart';
1
likes
150
points
36
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Environment variable loader for Darto. Reads from .env files and Platform.environment with typed accessors.

Homepage
Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

More

Packages that depend on darto_env