IEnvironmentManager class Null safety

Environment manager interface.

Inheritance
Implementers

Constructors

IEnvironmentManager()

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.
getBuild() → Future<String>
Gets build.
getCurrency() → Future<String>
getDeviceID() → Future<String?>
Gets device id.
getDeviceModel() → Future<String?>
Gets device model.
getEnvironment() → Environment?
Gets environment.
getGoogleApiKey() → Future<String?>
Gets google api key.
getLocale() → Future<Locale>
Gets locale.
getMode() → Future<String>
Gets environment.
getPlatform() → String
Gets platform.
getPlugin<T extends IPlugin>() → IPlugin?
Gets plugin.
inherited
getThemeMode() → Future<ThemeMode>
Gets theme mode.
getVersion() → Future<String>
Gets version.
isDebug() → bool
Returns true if debug is on.
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.
setCurrency(String currency) → Future<bool>
setDebug(bool debug) → void
Sets debug (on/off).
setLocale(Locale locale) → Future<bool>
Sets locale.
setMode(String environment) → Future<bool>
Sets environment.
setThemeMode(ThemeMode mode) → Future<bool>
Sets theme mode.
toString() → String
A string representation of this object.
inherited

Operators

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