Syllabus class
- Inheritance
-
- Implemented types
-
Constructors
-
Syllabus({required int id, required int courseOffering, required int teacher, DateTime? updatedAt, String? objective, String? weeklyPlan, String? evaluation, String? textbooks, })
-
const
-
Syllabus.fromJson(Map<String, dynamic> json, {ValueSerializer? serializer})
-
factory
Properties
-
courseOffering
→ int
-
Reference to the course offering this syllabus belongs to.
final
-
evaluation
→ String?
-
Evaluation and grading policy (評量方式與標準).
final
-
hashCode
→ int
-
The hash code for this object.
no setteroverride
-
id
→ int
-
Auto-incrementing primary key.
final
-
objective
→ String?
-
Course objective/outline (課程大綱).
final
-
Teacher-authored remarks from the syllabus page (備註).
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
teacher
→ int
-
Reference to the authoring teacher (the syllabus's code is their code).
final
-
textbooks
→ String?
-
Textbooks and reference materials (使用教材、參考書目或其他).
final
-
updatedAt
→ DateTime?
-
When this syllabus was last updated by the teacher (最後更新時間).
final
-
weeklyPlan
→ String?
-
Weekly plan describing topics covered each week (課程進度).
final
Methods
-
copyWith({int? id, int? courseOffering, int? teacher, Value<DateTime?> updatedAt = 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(), })
→ Syllabus
-
-
copyWithCompanion(SyllabusesCompanion data)
→ Syllabus
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toColumns(bool nullToAbsent)
→ Map<String, Expression<Object>>
-
Converts this object into a map of column names to expressions to insert
or update.
override
-
toCompanion(bool nullToAbsent)
→ SyllabusesCompanion
-
-
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