CourseTableSlot class

Inheritance

Constructors

CourseTableSlot({required int id, required String number, String? nameZh, String? nameEn, required double credits, required int hours, required DayOfWeek dayOfWeek, required Period period, String? nameZh1})
const
CourseTableSlot.fromJson(Map<String, dynamic> json, {ValueSerializer? serializer})
factory

Properties

credits double
final
dayOfWeek DayOfWeek
final
hashCode int
The hash code for this object.
no setteroverride
hours int
final
id int
final
nameEn String?
final
nameZh String?
final
nameZh1 String?
final
number String
final
period Period
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({int? id, String? number, Value<String?> nameZh = const Value.absent(), Value<String?> nameEn = const Value.absent(), double? credits, int? hours, DayOfWeek? dayOfWeek, Period? period, Value<String?> nameZh1 = const Value.absent()}) CourseTableSlot
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