getPrizes method

  1. @override
Future<List<Reward>> getPrizes({
  1. num? page,
  2. num? limit,
  3. List<String>? tags,
  4. bool? redeemable,
  5. bool? fitsPoints,
  6. String? distinctId,
  7. Map<String, dynamic>? sort,
})
override

Implementation

@override
Future<List<Reward>> getPrizes({
  num? page,
  num? limit,
  List<String>? tags,
  bool? redeemable,
  bool? fitsPoints,
  String? distinctId,
  Map<String, dynamic>? sort,
}) {
  return datasource.getPrizes(
    page: page,
    limit: limit,
    tags: tags,
    redeemable: redeemable,
    fitsPoints: fitsPoints,
    distinctId: distinctId,
    sort: sort,
  );
}