scan method

Map<String, ElementModel> scan({
  1. Key? omitChildsOf,
  2. bool debugMode = false,
})

Implementation

Map<String, ElementModel> scan({Key? omitChildsOf, bool debugMode = false}) {
  Map<String, ElementModel> results = <String, ElementModel>{};
  context.visitChildElements((element) => _scanChildElement(
      context.findRenderObject(), element, results,
      omitChildsOf: omitChildsOf, debugMode: debugMode));
  return results;
}