CourseNotify class Null safety

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?
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id int
read / write
location String?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
startTime String
read / write
title String?
read / write
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.
read / write
weekdayIndex int
read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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