Enable launching applications on the iOS device with observatory and diagnostics server connected. (#4424)
diff --git a/packages/flutter_tools/lib/src/device.dart b/packages/flutter_tools/lib/src/device.dart
index 775473f..e23e27e 100644
--- a/packages/flutter_tools/lib/src/device.dart
+++ b/packages/flutter_tools/lib/src/device.dart
@@ -307,10 +307,12 @@
}
class ForwardedPort {
- ForwardedPort(this.hostPort, this.devicePort);
+ ForwardedPort(this.hostPort, this.devicePort) : context = null;
+ ForwardedPort.withContext(this.hostPort, this.devicePort, this.context);
final int hostPort;
final int devicePort;
+ final dynamic context;
@override
String toString() => 'ForwardedPort HOST:$hostPort to DEVICE:$devicePort';