AppEnvironment enum

The deployment environment the application is running in.

Inheritance
Available extensions

Values

staging → const AppEnvironment

The staging environment, used for internal testing and QA.

production → const AppEnvironment

The production environment, used for live end-user releases.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
isProduction bool

Available on AppEnvironment, provided by the AppEnvironmentExtension extension

Whether this environment is AppEnvironment.production.
no setter
isStaging bool

Available on AppEnvironment, provided by the AppEnvironmentExtension extension

Whether this environment is AppEnvironment.staging.
no setter
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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
startDebug() Future<void>

Available on AppEnvironment, provided by the AppEnvironmentExtension extension

Attaches the AppBlocObserver to the global Bloc.observer when running in staging.
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<AppEnvironment>
A constant List of the values in this enum, in order of their declaration.