findReadVarNames function

Set<String?> findReadVarNames(
  1. List<Statement> stmts
)

Implementation

Set<String?> findReadVarNames(List<Statement> stmts) {
  var finder = _VariableReadFinder();
  finder.visitAllStatements(stmts, null);
  return finder.varNames;
}