getWorldQuery method

  1. @override
PagedProductQuery? getWorldQuery()
override

Returns the same query but without country: "for the whole world".

Null if not relevant (already in the "world" version, or no country).

Implementation

@override
PagedProductQuery? getWorldQuery() => world
    ? null
    : KeywordsProductQuery(keywords, productType: productType, world: true);