pubspecYamlSupportsWeb function

bool pubspecYamlSupportsWeb(
  1. Map map
)

True if the pubspec.yaml has the web dependency.

Implementation

bool pubspecYamlSupportsWeb(Map map) {
  return pubspecYamlHasAnyDependencies(map, ['build_web_compilers']);
}