EnvironmentManager class Null safety

Environment manager.

Inheritance
Implemented types

Constructors

EnvironmentManager(Environment? environment)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

addPlugin<T extends IPlugin>(IPlugin plugin) → void
Adds plugin.
inherited
cleanPlugins() → void
Clean plugins.
inherited
getBaseUrl() Future<String?>
Gets base url.
override
getBuild() Future<String>
Gets build.
override
getCurrency() Future<String>
override
getDeviceID() Future<String?>
Gets device id.
override
getDeviceModel() Future<String?>
Gets device model.
override
getEnvironment() Environment?
Gets environment.
override
getGoogleApiKey() Future<String?>
Gets google api key.
override
getLocale() Future<Locale>
Gets locale.
override
getMode() Future<String>
Gets environment.
override
getPlatform() String
Gets platform.
override
getPlugin<T extends IPlugin>() IPlugin?
Gets plugin.
inherited
getThemeMode() Future<ThemeMode>
Gets theme mode.
override
getVersion() Future<String>
Gets version.
override
isDebug() bool
Returns true if debug is on.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
removePlugin<T extends IPlugin>() → void
Removes plugin.
inherited
restart() → void
Restarts app.
override
setCurrency(String currency) Future<bool>
override
setDebug(bool debug) → void
Sets debug (on/off).
override
setLocale(Locale locale) Future<bool>
Sets locale.
override
setMode(String mode) Future<bool>
Sets environment.
override
setThemeMode(ThemeMode? mode) Future<bool>
Sets theme mode.
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

MODE_DEVELOPMENT String
final
MODE_PRODDUCTION String
final
PLATFORM_ANDROID String
final
PLATFORM_IOS String
final

Constants

TAG → const String
"[ENVIRONMENT_MANAGER]"