totalClasses function

int totalClasses(
  1. Iterable<LintFileReport> records
)

Implementation

int totalClasses(Iterable<LintFileReport> records) => records.fold(
      0,
      (prevValue, fileReport) => prevValue + fileReport.classes.keys.length,
    );