findWriteVarNames function

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

Implementation

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