setup method

Future<void> setup(
  1. YamlMap config
)

Implementation

Future<void> setup(YamlMap config) async {
  config.forEach(
    (key, value) {
      FlutlyVariable variable = FlutlyVariable(key, value);
      variables.putIfAbsent(key, () => variable);
      if (value.runtimeType == YamlMap) {
        readYamlMap(variable, value);
      }
    },
  );

  return;
}