loadConfigFromFlavor static method

Config? loadConfigFromFlavor(
  1. String flavor,
  2. String prefixPath
)

Creates Config for given flavor and prefixPath

Implementation

static Config? loadConfigFromFlavor(
  String flavor,
  String prefixPath,
) {
  return _getConfigFromPubspecYaml(
    prefix: prefixPath,
    pathToPubspecYamlFile: utils.flavorConfigFile(flavor),
  );
}