AvgCourseGradeWithCutoffData class

Constructors

AvgCourseGradeWithCutoffData({Map<String, Object> gradeCutoffs = const {}, required double averageGrade})
Returns a new AvgCourseGradeWithCutoffData instance.

Properties

averageGrade double
Course Average grade
getter/setter pair
gradeCutoffs Map<String, Object>
Dictionary showing grade cutoffs
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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) AvgCourseGradeWithCutoffData?
Returns a new AvgCourseGradeWithCutoffData instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<AvgCourseGradeWithCutoffData>
mapFromJson(dynamic json) Map<String, AvgCourseGradeWithCutoffData>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<AvgCourseGradeWithCutoffData>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.