EnvironmentContract class abstract
Public abstract interface of the environment implementation
- Implementers
Constructors
Properties
Methods
-
get<
T> (String key, {T? defaultValue}) → T -
Get environment key from .env file as
T
-
getOrFail<
T> (String key, {String? message}) → T - Get environment key from .env file as T
-
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