CourseTableSlot class
Constructors
-
CourseTableSlot({required int id, required String number, required int semester, required String nameZh, String? nameEn, required double credits, required int hours, required DayOfWeek dayOfWeek, required Period period, String? classroomNameZh})
-
const
-
CourseTableSlot.fromJson(Map<String, dynamic> json, {ValueSerializer? serializer})
-
factory
Methods
-
copyWith({int? id, String? number, int? semester, String? nameZh, Value<String?> nameEn = const Value.absent(), double? credits, int? hours, DayOfWeek? dayOfWeek, Period? period, Value<String?> classroomNameZh = 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