FlutterConfig class

Flutter config writes environment variables to BuildConfig class for android and as a NSDictionary for iOS

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Static Properties

variables Map<String, dynamic>
returns all the current loaded variables;
read-only

Static Methods

get(String key) → dynamic
Returns a specific varible value give a key
loadEnvVariables() → Future
Variables need to be loaded on app startup, recommend to do it main.dart
loadValueForTesting(Map<String, dynamic> values) → dynamic
@visibleForTesting