Substitution class Null safety

Inheritance

Constructors

Substitution(String affectedClass, int lesson, String subTeacher, String subject, bool isFree, {String notes = '', String? orgTeacher, String? room})
Substitution.fromJson(dynamic json)
Substitution.raw(int lesson, {required String affectedClass, required String subTeacher, required String subject, required String notes, String? orgTeacher, String? room})

Properties

affectedClass String
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
isFree bool
read / write
lesson int
read / write
notes String
read / write
orgTeacher String?
read / write
room String?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
subject String
read / write
subTeacher String
read / write

Methods

compareTo(dynamic other) int
Compares this object to another object. [...]
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]
override

Operators

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

Static Methods

fromUntis(int lesson, List<String> e) Substitution
fromUntis2019(int lesson, List<String> e) Substitution
fromUntis2020(int lesson, List<String> e) Substitution
fromUntis2021(int lesson, List<String> e) Substitution