GetCustomRewardsDataResponse class
- Annotations
-
- @freezed
Constructors
- GetCustomRewardsDataResponse({String? broadcasterName, String? broadcasterId, String? id, DefaultImage? image, String? backgroundColor, bool? isEnabled, int? cost, String? title, String? prompt, bool? isUserInputRequired, MaxPerStreamSetting? maxPerStreamSetting, MaxPerUserPerStreamSetting? maxPerUserPerStreamSetting, GlobalCooldownSetting? globalCooldownSetting, bool? isPaused, bool? isInStock, DefaultImage? defaultImage, bool? shouldRedemptionsSkipRequestQueue, int? redemptionsRedeemedCurrentStream, String? cooldownExpiresAt})
-
constfactory
-
GetCustomRewardsDataResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
- backgroundColor → String?
-
no setterinherited
- broadcasterId → String?
-
no setterinherited
- broadcasterName → String?
-
no setterinherited
- cooldownExpiresAt → String?
-
no setterinherited
-
copyWith
→ $GetCustomRewardsDataResponseCopyWith<
GetCustomRewardsDataResponse> -
no setterinherited
- cost → int?
-
no setterinherited
- defaultImage → DefaultImage?
-
no setterinherited
- globalCooldownSetting → GlobalCooldownSetting?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
no setterinherited
- image → DefaultImage?
-
no setterinherited
- isEnabled → bool?
-
no setterinherited
- isInStock → bool?
-
no setterinherited
- isPaused → bool?
-
no setterinherited
- isUserInputRequired → bool?
-
no setterinherited
- maxPerStreamSetting → MaxPerStreamSetting?
-
no setterinherited
- maxPerUserPerStreamSetting → MaxPerUserPerStreamSetting?
-
no setterinherited
- prompt → String?
-
no setterinherited
- redemptionsRedeemedCurrentStream → int?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shouldRedemptionsSkipRequestQueue → bool?
-
no setterinherited
- title → String?
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited