toQueryParam method

Map<String, String> toQueryParam()

Converts the map into something more manageable to be used in URL query params.

Implementation

Map<String, String> toQueryParam() {
  return map((key, value) => MapEntry(key, value.toString()));
}