removeUnusedDir method

void removeUnusedDir(
  1. String pathFeature,
  2. String featureName,
  3. String appsName
)

Implementation

void removeUnusedDir(
    String pathFeature, String featureName, String appsName) {
  for (var element in [
    join(pathFeature, 'android'),
    join(pathFeature, 'ios'),
    join(pathFeature, 'web'),
    join(pathFeature, 'macos'),
    join(pathFeature, 'linux'),
    join(pathFeature, 'windows'),
  ]) {
    if (exists(element)) {
      deleteDir(element);
    }
  }
}