enable lint prefer_final_in_for_each (#47724)
This commit is contained in:
committed by
GitHub
parent
fa337f5922
commit
4f9b6cf017
@@ -36,13 +36,13 @@ Future<void> main(List<String> args) async {
|
||||
final FuchsiaRemoteConnection connection =
|
||||
await FuchsiaRemoteConnection.connect(address, interface, sshConfigPath);
|
||||
print('On $address, the following Dart VM ports are running:');
|
||||
for (int port in await connection.getDeviceServicePorts()) {
|
||||
for (final int port in await connection.getDeviceServicePorts()) {
|
||||
print('\t$port');
|
||||
}
|
||||
print('');
|
||||
|
||||
print('The following Flutter views are running:');
|
||||
for (FlutterView view in await connection.getFlutterViews()) {
|
||||
for (final FlutterView view in await connection.getFlutterViews()) {
|
||||
print('\t${view.name ?? view.id}');
|
||||
}
|
||||
await connection.stop();
|
||||
|
||||
Reference in New Issue
Block a user