Reward constructor
Reward({
- required String id,
- required String type,
- required String description,
- required int expirationDays,
- required String name,
- required int points,
- required int quantity,
- required bool redeemable,
- required List tags,
- required String tc,
- required bool unlimited,
- required bool usePointType,
- required int userLimit,
- required String userLimitTimeframe,
- required List filter,
- required int quantityAvailable,
- required dynamic imageUrl,
- required dynamic pointType,
- required String pointTypeId,
- required List customData,
- required String eid,
- required String addonId,
- required Metadata metadata,
- required bool shipping,
- required bool available,
- required bool isCustomPrize,
- required String redeemUrl,
Implementation
Reward({
required this.id,
required this.type,
required this.description,
required this.expirationDays,
required this.name,
required this.points,
required this.quantity,
required this.redeemable,
required this.tags,
required this.tc,
required this.unlimited,
required this.usePointType,
required this.userLimit,
required this.userLimitTimeframe,
required this.filter,
required this.quantityAvailable,
required this.imageUrl,
required this.pointType,
required this.pointTypeId,
required this.customData,
required this.eid,
required this.addonId,
required this.metadata,
required this.shipping,
required this.available,
required this.isCustomPrize,
required this.redeemUrl,
});