get static method
Returns a specific variable value give a key
Implementation
static dynamic get(String key) {
var variables = _instance._variables;
if (variables.isEmpty) {
print(
'FlutterConfig Variables are Empty\n'
'Ensure you have a .env file and you\n'
'have loaded the variables',
);
} else if (variables.containsKey(key)) {
return variables[key];
} else {
print(
'FlutterConfig Value for Key($key) not found\n'
'Ensure you have it in .env file',
);
}
}