Remove unneeded comparison to double.nan (#115470)

Fixes #115468
This commit is contained in:
Ahmed Ashour 2022-11-17 04:53:05 +01:00 committed by GitHub
parent fafa11d45d
commit 59f389db78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4759,7 +4759,6 @@ class OrdinalSortKey extends SemanticsSortKey {
this.order, {
super.name,
}) : assert(order != null),
assert(order != double.nan),
assert(order > double.negativeInfinity),
assert(order < double.infinity);