MathStudent class
Constructors
- MathStudent({required int id, required int student, required int level, required int points, required int correctQuestionsForLevel, required int noIncorrectQuestionsForLevel, required DateTime createdAt, required DateTime updatedAt, required String acquiredSkills})
- Returns a new MathStudent instance.
Properties
- acquiredSkills ↔ String
-
getter/setter pair
- correctQuestionsForLevel ↔ int
-
Number of correctly answered questions at the student's current level
getter/setter pair
- createdAt ↔ DateTime
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- id ↔ int
-
getter/setter pair
- level ↔ int
-
getter/setter pair
- noIncorrectQuestionsForLevel ↔ int
-
Number of incorrectly answered questions at the student's current level
getter/setter pair
- points ↔ int
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- student ↔ int
-
edX user ID
getter/setter pair
- updatedAt ↔ DateTime
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → MathStudent? -
Returns a new MathStudent instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< MathStudent> -
mapFromJson(
dynamic json) → Map< String, MathStudent> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< MathStudent> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.