setEnvironmentVariable method
Sets an environment variable.
Implementation
Future<void> setEnvironmentVariable(
String variableName, String variableValue) async {
try {
var parameters = {
'variableName': variableName,
'variableValue': variableValue
};
await _methodChannel.invokeMethod('setEnvironmentVariable', parameters);
} on PlatformException catch (e) {
print("Plugin setEnvironmentVariable error: ${e.message}");
}
}