Skip to content
Prev Previous commit
Next Next commit
Fix one missed violation
  • Loading branch information
stuartmorgan-g committed May 22, 2023
commit cb65963d039a0d9be63ca3c4214c604e0c278e06
2 changes: 1 addition & 1 deletion packages/go_router/lib/src/route.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1198,7 +1198,7 @@ class _RestorableRouteMatchList extends RestorableProperty<RouteMatchList> {

@override
Object? toPrimitives() {
if (value != null && value.isNotEmpty) {
if (value.isNotEmpty) {
return _matchListCodec.encodeMatchList(value);
}
return null;
Expand Down