toQuery method

  1. @override
Map<String, List<String>> toQuery()
override

Converts to a map of query parameters

Implementation

@override
Map<String, List<String>> toQuery() => {
      if (isNotEmpty) 'sort': [join(',')]
    };