ActiveThread.from constructor
ActiveThread.from({})
Returns the new instance of ActiveThread based on arguments.
Implementation
ActiveThread.from({
required this.id,
required this.xp,
required this.cohort,
required this.hasWon,
required this.hasLost,
required this.hasPromoted,
required this.hasDemoted,
});