mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Revert use of const asserts in flutter_driver (#10568)
Fixes bot breakage resulting from commit
7d71326363
(#10540).
This commit is contained in:
parent
b83ddcd192
commit
a0ca48c35c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user