mirror of
https://github.com/java-james/flutter_dotenv.git
synced 2025-07-04 05:18:57 +08:00
chore: changelog
This commit is contained in:
@ -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
|
||||
|
@ -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 {
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user