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.
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

variables Map<String, dynamic>
returns all the current loaded variables;
no setter

Static Methods

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