collectChildren method

  1. @override
void collectChildren(
  1. InspectionCache cache, {
  2. required String stdlibPath,
  3. required Module parentModule,
})
override

Collects all children of this entry during the inspection process.

Implementation

@override
void collectChildren(
  InspectionCache cache, {
  required String stdlibPath,
  required Module parentModule,
}) {
  super.collectChildren(
    cache,
    stdlibPath: stdlibPath,
    parentModule: parentModule,
  );
  _extractFieldsFromInit(parentModule);
  _extractFieldsFromDataclassFields(parentModule);
}