CurrentCourse class

This class represents the course that the user is currently selecting.

Skill information is included as skillBook in this current course information.

Constructors

CurrentCourse.from({required String id, required String title, required String fromLanguage, required String leraningLanguage, required int numberOfLearnedWords, required int numberOfWords, required int numberOfSentences, required int xp, required int crowns, required int extraCrowns, required SkillBook skillBook})
Returns the new instance of CurrentCourse based on arguments.

Properties

crowns int
The crowns
final
extraCrowns int
The extra crowns
final
fromLanguage String
The from language
final
hashCode int
The hash code for this object.
no setteroverride
id String
The id
final
leraningLanguage String
The learning language
final
numberOfLearnedWords int
The number of learned words
final
numberOfSentences int
The number of sentences
final
numberOfWords int
The number of words
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
skillBook SkillBook
The skill book
final
title String
The title
final
xp int
The XP
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override