From a0ca48c35c86bf8e7069eec9bb4a183ea584fa77 Mon Sep 17 00:00:00 2001 From: Chris Bracken Date: Wed, 7 Jun 2017 14:31:52 -0700 Subject: [PATCH] Revert use of const asserts in flutter_driver (#10568) Fixes bot breakage resulting from commit 7d7132636369914402507c7b15d635039193ee46 (#10540). --- packages/flutter_driver/lib/src/health.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/flutter_driver/lib/src/health.dart b/packages/flutter_driver/lib/src/health.dart index 52c998d6a8e..da10a27e893 100644 --- a/packages/flutter_driver/lib/src/health.dart +++ b/packages/flutter_driver/lib/src/health.dart @@ -29,8 +29,9 @@ final EnumIndex _healthStatusIndex = class Health extends Result { /// Creates a [Health] object with the given [status]. - Health(this.status) - : assert(status != null); + Health(this.status) { + assert(status != null); + } /// Deserializes the result from JSON. static Health fromJson(Map json) {