getMap method

  1. @override
Map<String, String> getMap(
  1. String key
)
override

Implementation

@override
Map<String, String> getMap(String key) => {
      ...super.getMap(key),
      QueryParameter.part.name: parts.map((part) => part.name).join(','),
      if (chart != null) QueryParameter.chart.name: chart!.name,
      if (id != null) QueryParameter.id.name: id!.join(','),
      if (myRating != null) QueryParameter.myRating.name: myRating!.name,
      if (hl != null) QueryParameter.hl.name: hl!,
      if (maxHeight != null) QueryParameter.maxHeight.name: "$maxHeight",
      if (maxWidth != null) QueryParameter.maxWidth.name: "$maxWidth",
    };