apiV1TasksTaskerWithinDistanceGet method

Future<Response<TaskViewModelPaginationViewModel>> apiV1TasksTaskerWithinDistanceGet({
  1. TaskType? type,
  2. TaskFrequency? frequency,
  3. num? lat,
  4. num? lng,
  5. num? radius,
  6. bool? byMe,
  7. bool? onlyShowAvailable,
  8. String? q,
  9. List<int>? categories,
  10. int? limit,
  11. int? skip,
})

Search for tasks @param Type @param Frequency @param Lat @param Lng @param Radius @param ByMe @param OnlyShowAvailable @param Q @param Categories @param Limit @param Skip

Implementation

Future<chopper.Response<TaskViewModelPaginationViewModel>>
    apiV1TasksTaskerWithinDistanceGet({
  enums.TaskType? type,
  enums.TaskFrequency? frequency,
  num? lat,
  num? lng,
  num? radius,
  bool? byMe,
  bool? onlyShowAvailable,
  String? q,
  List<int>? categories,
  int? limit,
  int? skip,
}) {
  generatedMapping.putIfAbsent(TaskViewModelPaginationViewModel,
      () => TaskViewModelPaginationViewModel.fromJsonFactory);

  return _apiV1TasksTaskerWithinDistanceGet(
      type: enums.$TaskTypeMap[type],
      frequency: enums.$TaskFrequencyMap[frequency],
      lat: lat,
      lng: lng,
      radius: radius,
      byMe: byMe,
      onlyShowAvailable: onlyShowAvailable,
      q: q,
      categories: categories,
      limit: limit,
      skip: skip);
}