chore: changelog

This commit is contained in:
James Collins
2021-01-15 13:26:24 +13:00
parent a4376efe2d
commit 2ddd451ff3
3 changed files with 7 additions and 3 deletions

View File

@ -9,6 +9,10 @@ Release notes are available on [github][notes].
[pub-semver-readme]: https://pub.dartlang.org/packages/pub_semver
[notes]: https://github.com/java-james/flutter_dotenv/releases
#### 3.0.2
- [chore] Format code with dart fmt
#### 3.0.1
- [docs] Use secure links

View File

@ -29,8 +29,8 @@ import 'errors.dart';
/// const _requiredEnvVars = const ['host', 'port'];
/// bool get hasEnv => isEveryDefined(_requiredEnvVars);
///
var _isInitialized = false;
var _envMap = Map<String, String>.from(Platform.environment);
bool _isInitialized = false;
Map<String, String> _envMap = {};
/// A copy of [Platform.environment](dart:io) including variables loaded at runtime from a file.
Map<String, String> get env {

View File

@ -1,5 +1,5 @@
name: flutter_dotenv
version: 3.0.1
version: 3.0.2
description: Easily configure any flutter application with global variables using a `.env` file.
author: java-james <james-collins@hotmail.co.nz>
homepage: https://github.com/java-james/flutter_dotenv