PollsResponseData class
- Annotations
-
- @freezed
Constructors
-
PollsResponseData({String? id, String? broadcasterId, String? broadcasterName, String? broadcasterLogin, String? title, List<
Choices> ? choices, bool? bitsVotingEnabled, int? bitsPerVote, bool? channelPointsVotingEnabled, int? channelPointsPerVote, String? status, int? duration, String? startedAt}) -
constfactory
-
PollsResponseData.fromJson(Map<
String, dynamic> json) -
factory
Properties
- bitsPerVote → int?
-
no setterinherited
- bitsVotingEnabled → bool?
-
no setterinherited
- broadcasterId → String?
-
no setterinherited
- broadcasterLogin → String?
-
no setterinherited
- broadcasterName → String?
-
no setterinherited
- channelPointsPerVote → int?
-
no setterinherited
- channelPointsVotingEnabled → bool?
-
no setterinherited
-
choices
→ List<
Choices> ? -
no setterinherited
-
copyWith
→ $PollsResponseDataCopyWith<
PollsResponseData> -
no setterinherited
- duration → int?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startedAt → String?
-
no setterinherited
- status → String?
-
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