Course class

This class represents the course information that the user has learned.

Constructors

Course.from({required String id, required String title, required String fromLanguage, required String learningLanguage, required int xp, required int crowns})
Returns the new instance of Course based on arguments.

Properties

crowns int
The crowns
final
fromLanguage String
The from language
final
hashCode int
The hash code for this object.
no setteroverride
id String
The id
final
learningLanguage String
The learning language
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
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