search static method

RecommendationLogic search({
  1. String? searchTerm,
})

Implementation

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