InspectionDefectChecker constructor

InspectionDefectChecker({
  1. InspectionCategoryLoader? loadCategories,
  2. CategoryCheckpointLoader? loadCheckpoints,
  3. CheckpointDefectLoader? loadDefects,
})

Implementation

InspectionDefectChecker({
  InspectionCategoryLoader? loadCategories,
  CategoryCheckpointLoader? loadCheckpoints,
  CheckpointDefectLoader? loadDefects,
})  : _loadCategories = loadCategories ?? _defaultLoadCategories,
      _loadCheckpoints = loadCheckpoints ?? _defaultLoadCheckpoints,
      _loadDefects = loadDefects ?? _defaultLoadDefects;