Commit a0ca48c3 authored by Chris Bracken's avatar Chris Bracken Committed by GitHub

Revert use of const asserts in flutter_driver (#10568)

Fixes bot breakage resulting from commit
7d713263 (#10540).
parent b83ddcd1
......@@ -29,8 +29,9 @@ final EnumIndex<HealthStatus> _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<String, dynamic> json) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment