SemesterData class

Annotations
  • @JsonSerializable()

Constructors

SemesterData({required List<Semester> data, required Semester defaultSemester, int currentIndex = 0})
SemesterData.fromJson(Map<String, dynamic> json)
factory
SemesterData.fromRawJson(String str)
factory

Properties

currentIndex int
getter/setter pair
currentSemester Semester
no setter
data List<Semester>
getter/setter pair
defaultIndex int
no setter
defaultSemester Semester
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
semesters List<String>
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
save() → 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() SemesterData?