Add hot_mode preview_dart_2 tests for ios. (#14022)

* Add hot_mode preview_dart_2 tests for ios.

* Explicitly request ios os in the test.

* 2018
diff --git a/dev/devicelab/bin/tasks/hot_mode_dev_cycle_ios__preview_dart_2_benchmark.dart b/dev/devicelab/bin/tasks/hot_mode_dev_cycle_ios__preview_dart_2_benchmark.dart
new file mode 100644
index 0000000..e400000
--- /dev/null
+++ b/dev/devicelab/bin/tasks/hot_mode_dev_cycle_ios__preview_dart_2_benchmark.dart
@@ -0,0 +1,14 @@
+// Copyright (c) 2018 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+import 'dart:async';
+
+import 'package:flutter_devicelab/tasks/hot_mode_tests.dart';
+import 'package:flutter_devicelab/framework/framework.dart';
+import 'package:flutter_devicelab/framework/adb.dart';
+
+Future<Null> main() async {
+  deviceOperatingSystem = DeviceOperatingSystem.ios;
+  await task(createHotModeTest(isPreviewDart2: true));
+}
diff --git a/dev/devicelab/manifest.yaml b/dev/devicelab/manifest.yaml
index 9515c6c..b35b1db 100644
--- a/dev/devicelab/manifest.yaml
+++ b/dev/devicelab/manifest.yaml
@@ -155,6 +155,14 @@
     stage: devicelab
     required_agent_capabilities: ["mac/android"]
 
+  hot_mode_dev_cycle_ios__preview_dart_2_benchmark:
+    description: >
+      Measures the performance of Dart VM hot patching feature under
+      --preview-dart-2 option, that enables Dart 2.0 frontend.
+    stage: devicelab
+    required_agent_capabilities: ["mac/ios"]
+    flaky: true
+
   complex_layout_scroll_perf__memory:
     description: >
       Measures memory usage of the scroll performance test.