category static method

RecommendationLogic category({
  1. String? categoryPath,
})

Implementation

static RecommendationLogic category({String? categoryPath}) {
  Map<String, String> dataMap = {};
  if (categoryPath != null) {
    dataMap["categoryPath"] = categoryPath;
  }
  return RecommendationLogic._(name: _CATEGORY, data: dataMap);
}