related static method

RecommendationLogic related({
  1. String? itemId,
})

Implementation

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