setEnvironmentVariable static method
Sets an environment variable.
Implementation
static Future<void> setEnvironmentVariable(String name, String value) async {
try {
await init();
return _platform.ffmpegKitConfigSetEnvironmentVariable(name, value);
} on PlatformException catch (e, stack) {
print("Plugin setEnvironmentVariable error: ${e.message}");
return Future.error("setEnvironmentVariable failed.", stack);
}
}