TeachingUnit class

Available extensions
Annotations
  • @CopyWith()
  • @HiveType(typeId: 10)

Constructors

TeachingUnit.new(String title, List<Teacher> masters, List<Grade> grades, List<TomussText> textValues, List<Enumeration> enumerations, List<Presence> presences, List<StageCode> stageCodes, List<Upload> uploads, List<URL> urls, String ticket, String ue)

Properties

children List<TeachingUnitElement>
no setter
copyWith → _$TeachingUnitCWProxy

Available on TeachingUnit, provided by the $TeachingUnitCopyWith extension

Returns a callable class that can be used as follows: instanceOfTeachingUnit.copyWith(...) or like so:instanceOfTeachingUnit.copyWith.fieldName(...).
no setter
enumerations List<Enumeration>
final
grades List<Grade>
final
hashCode int
The hash code for this object.
no setterinherited
masters List<Teacher>
final
presences List<Presence>
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stageCodes List<StageCode>
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setter
textValues List<TomussText>
final
ticket String
final
title String
final
ue String
final
uploads List<Upload>
final
urls List<URL>
final
visibleChildren List<TeachingUnitElement>
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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