AtEnv class
AtEnv is a helper class to load in the environment variables from the .env file
Constructors
- AtEnv()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
Static Properties
- appApiKey → String?
-
Returns the app api key from the environment.
The api key used to generate free @signs by at_onboarding_flutter.
Also used to pay commissions to developers (email )
final
- appNamespace → String
-
Returns the namespace from the environment.
Namespace is used to filter by an app's namespace from the secondary server.
final
- rootDomain → String
-
Returns the root domain from the environment.
Root domain is used to control what root server you want to use for the app.
final
- rootEnvironment → RootEnvironment
-
Returns Staging environment if the API_KEY is null
Returns Production environment if the API_KEY is set in .env
Used by Onboarding in the templates
no setter
Static Methods
-
load(
) → dynamic - Load the environment variables from the .env file. Directly calls load from the dotenv package.