Datum class

Annotations
  • @freezed

Constructors

Datum({String? broadcasterName, String? broadcasterLogin, String? broadcasterId, String? id, dynamic 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, dynamic redemptionsRedeemedCurrentStream, dynamic cooldownExpiresAt})
const
factory
Datum.fromJson(Map<String, dynamic> json)
factory

Properties

backgroundColor String?
no setterinherited
broadcasterId String?
no setterinherited
broadcasterLogin String?
no setterinherited
broadcasterName String?
no setterinherited
cooldownExpiresAt → dynamic
no setterinherited
copyWith → $DatumCopyWith<Datum>
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 → dynamic
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 → dynamic
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