SubstitutionPlan class
A data class to store all substitution information available
Constructors
-
SubstitutionPlan({List<
SubstitutionDay> ? days, DateTime? lastUpdated}) -
SubstitutionPlan.fromJson(Map<
String, dynamic> json)
Properties
-
allSubstitutions
→ List<
Substitution> -
no setter
-
days
→ List<
SubstitutionDay> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastUpdated ↔ DateTime
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
add(
SubstitutionDay substitutionDay) → void -
filterAll(
SubstitutionFilter filter) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeEmptyDays(
) → void -
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited