Enumeration class
- Inheritance
-
- Object
- TeachingUnitElement
- Enumeration
- Available extensions
- Annotations
-
- @CopyWith()
- @HiveType(typeId: 25)
Constructors
-
Enumeration.new({required String title, required String author, required DateTime? date, required double position, required String? value, required List<
String> values, required String comment, required String theId, required String lineId, required String ue, required String semester, required String year, required bool modifiable}) - Enumeration.fromJSON(dynamic id, dynamic json, dynamic stats, dynamic line, dynamic column, String user)
Properties
-
latefinalinherited
- comment ↔ String
-
latefinal
- copyWith → _$EnumerationCWProxy
-
Available on Enumeration, provided by the $EnumerationCopyWith extension
Returns a callable class that can be used as follows:instanceOfEnumeration.copyWith(...)
or like so:instanceOfEnumeration.copyWith.fieldName(...)
.no setter -
customProps
→ List<
Object?> -
no setteroverride
- date ↔ DateTime?
-
latefinalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isVisible → bool
-
no setteroverride
- lineId ↔ String
-
latefinal
- modifiable ↔ bool
-
latefinal
- position ↔ double
-
latefinalinherited
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- semester ↔ String
-
latefinal
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - theId ↔ String
-
latefinal
- title ↔ String
-
latefinalinherited
- ue ↔ String
-
latefinal
- value ↔ String?
-
latefinal
-
values
↔ List<
String> -
latefinal
- year ↔ String
-
latefinal
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateValue(
String value, String ticket) → Future< Enumeration>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited