DotenvLoader class

Inheritance

Constructors

DotenvLoader({bool skipMultipleLocations = true, bool includeSystemEnvironment = true, Iterable<String> files = const ['.env'], bool searchProjectDirectory = true, Iterable<String>? searchDirectories, Parser parser = const DefaultParser()})
const

Properties

dependencies Set<Loader>
Define other loaders that the Loader depends on.
no setteroverride
files Iterable<String>
Load dot env files.
final
hashCode int
The hash code for this object.
no setterinherited
includeSystemEnvironment bool
Include system environment
final
parser Parser
Dot env file parser.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchDirectories Iterable<String>?
Files search directories.
final
searchProjectDirectory bool
Search files in project directory.
final
skipMultipleLocations bool
Skip multiple locations of a file.
final

Methods

fallback(String keys) Object?
The regression query for configuration not found during runtime configuration.
inherited
load({required bool shouldWarn}) Map<String, dynamic>
Load the configurations.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited