CourseNotify class
- Annotations
-
- @JsonSerializable()
Constructors
- CourseNotify({required int id, required int weekday, required String startTime, String? title, String? location, String? code})
- CourseNotify.fromCourse({required int id, required Course course, required int weekday, required TimeCode timeCode})
-
factory
-
CourseNotify.fromJson(Map<
String, dynamic> json) -
factory
- CourseNotify.fromRawJson(String str)
-
factory
Properties
- code ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ int
-
getter/setter pair
- location ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startTime ↔ String
-
getter/setter pair
- title ↔ String?
-
getter/setter pair
- weekday ↔ int
-
The day of the week DateTime.monday..DateTime.sunday.
In accordance with ISO 8601 a week starts with Monday,
which has the value 1.
getter/setter pair
- weekdayIndex → int
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toRawJson(
) → String -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited