Fixed null safety

This commit is contained in:
thomashii 2021-03-21 09:01:38 +08:00
parent de6521158e
commit 7f257d173f

View file

@ -192,7 +192,7 @@ class WildcardSegment extends RouteSegment {
var items = r.value!.cast<RouteResult>();
var a = items[0], b = items[1];
return a
..addAll(b.params ?? {})
..addAll(b.params)
.._setTail(b.tail);
});
}