findFunction method

FunctionDeclaration? findFunction(
  1. CompilationUnit unit,
  2. String functionName
)

Implementation

FunctionDeclaration? findFunction(CompilationUnit unit, String functionName) {
  return NodeFinder.findFunction(unit, functionName);
}