isDartSourceCodeFile method

bool isDartSourceCodeFile()

Implementation

bool isDartSourceCodeFile() {
  final matches = Constants.partFileExtensionRegex.allMatches(path);

  return path.endsWith('.dart') && matches.isEmpty;
}