Null safety migration of packages/flutter_tools/test/commands.shard/hermetic, part 3/3 (#110709)

* Migrate packages/flutter_tools/test/commands.shard/hermetic, part 3/3

* Fix tests

* Chris's comment
This commit is contained in:
Liam Appelbe
2022-09-06 10:22:40 -07:00
committed by GitHub
parent 089d955156
commit 9dbc09de1f
11 changed files with 139 additions and 166 deletions

View File

@@ -512,7 +512,7 @@ class RunCommand extends RunCommandBase {
}
@visibleForTesting
Future<ResidentRunner?> createRunner({
Future<ResidentRunner> createRunner({
required bool hotMode,
required List<FlutterDevice> flutterDevices,
required String? applicationBinaryPath,
@@ -669,12 +669,12 @@ class RunCommand extends RunCommandBase {
),
];
final ResidentRunner runner = await (createRunner(
final ResidentRunner runner = await createRunner(
applicationBinaryPath: applicationBinaryPath,
flutterDevices: flutterDevices,
flutterProject: flutterProject,
hotMode: hotMode,
) as FutureOr<ResidentRunner>);
);
DateTime? appStartedTime;
// Sync completer so the completing agent attaching to the resident doesn't