static Filter fromUri(Uri uri) => Filter(uri.queryParametersAll .map((k, v) => MapEntry(_regex.firstMatch(k)?.group(1) ?? '', v.last)) ..removeWhere((k, v) => k.isEmpty));