Outcome class

Annotations
  • @freezed

Constructors

Outcome({String? id, String? title, String? color, int? users, int? channelPoints, List<TopPredictor>? topPredictors})
const
factory
Outcome.fromJson(Map<String, dynamic> json)
factory

Properties

channelPoints int?
no setterinherited
color String?
no setterinherited
copyWith → $OutcomeCopyWith<Outcome>
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
title String?
no setterinherited
topPredictors List<TopPredictor>?
no setterinherited
users int?
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