Enable use_function_type_syntax_for_parameters lint (#77163)

This commit is contained in:
Michael Goderbauer
2021-03-04 08:59:17 -08:00
committed by GitHub
parent 8f9c6af2dd
commit 7b251f5f37
68 changed files with 119 additions and 119 deletions

View File

@@ -115,7 +115,7 @@ class FakeProcessManager extends Mock implements ProcessManager {
/// A fake process that can be used to interact with a process "started" by the FakeProcessManager.
class FakeProcess extends Mock implements Process {
FakeProcess(ProcessResult result, {void stdinResults(String input)})
FakeProcess(ProcessResult result, {void Function(String input) stdinResults})
: stdoutStream = Stream<List<int>>.value((result.stdout as String).codeUnits),
stderrStream = Stream<List<int>>.value((result.stderr as String).codeUnits),
desiredExitCode = result.exitCode,