dotenv2dart 0.0.2 copy "dotenv2dart: ^0.0.2" to clipboard
dotenv2dart: ^0.0.2 copied to clipboard

A dart generator for .env files.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dotenv2dart

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

dependencies:
  dotenv2dart: ^0.0.2

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

Import it

Now in your Dart code, you can use:

import 'package:dotenv2dart/dotenv2dart.dart';
0
likes
20
pub points
0%
popularity

Publisher

unverified uploader

A dart generator for .env files.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

build, build_config, dart_style, meta, path, recase

More

Packages that depend on dotenv2dart