asQueryParameters property

Map<String, String> get asQueryParameters

Converts to a map of query parameters

Implementation

Map<String, String> get asQueryParameters =>
    {if (isNotEmpty) 'sort': join(',')};