From d0665c2b9e41f8ea9af17a226ce6ebbf91484f27 Mon Sep 17 00:00:00 2001 From: Bartek Pacia Date: Wed, 13 Sep 2023 10:31:47 +0200 Subject: [PATCH] convert unnecessary `late`s to `final`s --- packages/patrol/example/integration_test/open_app_test.dart | 4 ++-- packages/patrol/example/integration_test/swipe_test.dart | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/patrol/example/integration_test/open_app_test.dart b/packages/patrol/example/integration_test/open_app_test.dart index fa1a4b231..c52a7a13c 100644 --- a/packages/patrol/example/integration_test/open_app_test.dart +++ b/packages/patrol/example/integration_test/open_app_test.dart @@ -6,7 +6,7 @@ import 'common.dart'; void main() { patrol('open maps', ($) async { - late String mapsId; + final String mapsId; if (Platform.isIOS) { mapsId = 'com.apple.Maps'; } else if (Platform.isAndroid) { @@ -30,7 +30,7 @@ void main() { }); patrol('open browser', ($) async { - late String browserId; + final String browserId; if (Platform.isIOS) { browserId = 'com.apple.mobilesafari'; } else if (Platform.isAndroid) { diff --git a/packages/patrol/example/integration_test/swipe_test.dart b/packages/patrol/example/integration_test/swipe_test.dart index 02ef39835..370223659 100644 --- a/packages/patrol/example/integration_test/swipe_test.dart +++ b/packages/patrol/example/integration_test/swipe_test.dart @@ -3,7 +3,7 @@ import 'dart:io' show Platform; import 'common.dart'; void main() { - late String appId; + final String appId; if (Platform.isIOS) { appId = 'com.apple.Preferences'; } else if (Platform.isAndroid) {