CourseOfferingOverview class

Inheritance

Constructors

CourseOfferingOverview({required int id, String? courseCode, required int semester, String? number, String? nameZh, String? nameEn, double? credits, int? hours, int? phase, CourseType? courseType, String? status, String? language, String? remarks, int? enrolled, int? withdrawn, DateTime? fetchedAt, DateTime? syllabusUpdatedAt, String? objective, String? weeklyPlan, String? evaluation, String? textbooks, String? syllabusRemarks})
const
CourseOfferingOverview.fromJson(Map<String, dynamic> json, {ValueSerializer? serializer})
factory

Properties

courseCode String?
final
courseType CourseType?
final
credits double?
final
enrolled int?
final
evaluation String?
final
fetchedAt DateTime?
final
hashCode int
The hash code for this object.
no setteroverride
hours int?
final
id int
final
language String?
final
nameEn String?
final
nameZh String?
final
number String?
final
objective String?
final
phase int?
final
remarks String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
semester int
final
status String?
final
syllabusRemarks String?
final
syllabusUpdatedAt DateTime?
final
textbooks String?
final
weeklyPlan String?
final
withdrawn int?
final

Methods

copyWith({int? id, Value<String?> courseCode = const Value.absent(), int? semester, Value<String?> number = const Value.absent(), Value<String?> nameZh = const Value.absent(), Value<String?> nameEn = const Value.absent(), Value<double?> credits = const Value.absent(), Value<int?> hours = const Value.absent(), Value<int?> phase = const Value.absent(), Value<CourseType?> courseType = const Value.absent(), Value<String?> status = const Value.absent(), Value<String?> language = const Value.absent(), Value<String?> remarks = const Value.absent(), Value<int?> enrolled = const Value.absent(), Value<int?> withdrawn = const Value.absent(), Value<DateTime?> fetchedAt = const Value.absent(), Value<DateTime?> syllabusUpdatedAt = const Value.absent(), Value<String?> objective = const Value.absent(), Value<String?> weeklyPlan = const Value.absent(), Value<String?> evaluation = const Value.absent(), Value<String?> textbooks = const Value.absent(), Value<String?> syllabusRemarks = const Value.absent()}) CourseOfferingOverview
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({ValueSerializer? serializer}) Map<String, dynamic>
Converts this object into a representation that can be encoded with json. The serializer can be used to configure how individual values will be encoded. By default, DriftRuntimeOptions.defaultSerializer will be used. See ValueSerializer.defaults for details.
override
toJsonString({ValueSerializer? serializer}) String
Converts this object into a json representation. The serializer can be used to configure how individual values will be encoded. By default, DriftRuntimeOptions.defaultSerializer will be used. See ValueSerializer.defaults for details.
inherited
toString() String
A string representation of this object.
override

Operators

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