Environment class

Used to annotate dependencies which are registered under certain environments

Constructors

Environment(String name)
default constructor
const

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
name of the environment
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Constants

dev → const String
preset of common env name 'dev'
prod → const String
preset of common env name 'prod'
test → const String
preset of common env name 'test'