isManifestFileName static method

bool isManifestFileName(
  1. String fileName
)

Returns true if fileName is a project_template manifest.

Possible file names:

  • project_template.yaml
  • project_template.yml
  • project_template.json

Implementation

static bool isManifestFileName(String fileName) {
  return fileName == 'project_template.yml' ||
      fileName == 'project_template.yaml' ||
      fileName == 'project_template.json';
}