Outcome constructor

const Outcome({
  1. String? id,
  2. String? title,
  3. String? color,
  4. int? users,
  5. int? channelPoints,
  6. List<TopPredictor>? topPredictors,
})

Implementation

const factory Outcome({
  String? id,
  String? title,
  String? color,
  int? users,
  int? channelPoints,
  List<TopPredictor>? topPredictors, // contains up to 10 users
}) = _Outcome;