loadEnvVariables static method

dynamic loadEnvVariables()

Variables need to be loaded on app startup, recommend to do it main.dart

Implementation

static loadEnvVariables() async {
  final Map<String, dynamic>? loadedVariables =
  await methodChannel.invokeMapMethod('loadEnvVariables');
  instance._variables = loadedVariables ?? {};
}