Update comment const_finder.dart (flutter/engine#45180)

The arguments no longer seem to be all required and non-null. Updated the doc comment to reflect this.
This commit is contained in:
Hossein Yousefi 2023-08-31 22:04:53 +02:00 committed by GitHub
parent 6207fce970
commit 5409eadd3c

View File

@ -174,8 +174,7 @@ class _ConstVisitor extends RecursiveVisitor<void> {
/// A kernel AST visitor that finds const references.
class ConstFinder {
/// Creates a new ConstFinder class. All arguments are required and must not
/// be null.
/// Creates a new ConstFinder class.
///
/// The `kernelFilePath` is the path to a dill (kernel) file to process.
ConstFinder({