CourseData class

Annotations
  • @JsonSerializable()

Constructors

CourseData({required List<Course> courses, required List<TimeCode> timeCodes})
CourseData.empty()
factory
CourseData.fromJson(Map<String, dynamic> json)
factory
CourseData.fromRawJson(String str)
factory

Properties

courses List<Course>
final
hashCode int
The hash code for this object.
no setterinherited
hasHoliday bool
no setter
maxTimeCodeIndex int
no setter
minTimeCodeIndex int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeCodes List<TimeCode>
final
weekDayCourseList List<List<Course>>
no setter

Methods

copyWith({List<Course>? courses, List<TimeCode>? timeCodes}) CourseData
getTimeCodeIndex(String section) int
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
save(String tag) → void
toJson() Map<String, dynamic>
toRawJson() String
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

load(String tag) CourseData?
migrateFrom0_10() Future<void>