PlatformTargetAnalyzer.fromSpec constructor

PlatformTargetAnalyzer.fromSpec(
  1. File specFile
)

Parses the annotation from specFile (one file read, one regex match).

Implementation

factory PlatformTargetAnalyzer.fromSpec(File specFile) {
  return PlatformTargetAnalyzer.fromContent(specFile.readAsStringSync());
}