UpdateCustomRewardProps constructor

const UpdateCustomRewardProps({
  1. String? backgroundColor,
  2. bool? isEnabled,
  3. int? cost,
  4. String? title,
  5. String? prompt,
  6. bool? isUserInputRequired,
  7. int? maxPerStream,
  8. bool? isMaxPerStreamEnabled,
  9. bool? isMaxPerUserPerStreamEnabled,
  10. int? maxPerUserPerStream,
  11. bool? isGlobalCooldownEnabled,
  12. int? globalCooldownSeconds,
  13. bool? isPaused,
  14. bool? shouldRedemptionsSkipRequestQueue,
})

Implementation

const factory UpdateCustomRewardProps({
  String? backgroundColor,
  bool? isEnabled,
  int? cost,
  String? title,
  String? prompt,
  bool? isUserInputRequired,
  int? maxPerStream,
  bool? isMaxPerStreamEnabled,
  bool? isMaxPerUserPerStreamEnabled,
  int? maxPerUserPerStream,
  bool? isGlobalCooldownEnabled,
  int? globalCooldownSeconds,
  bool? isPaused,
  bool? shouldRedemptionsSkipRequestQueue,
}) = _UpdateCustomRewardProps;