Constraints class
Constraints to be applied while editing a schedule.
These constraints ensure that Upgrade
specific requirements are met.
Constructors
- Constraints.new({int? minHoursDay, int? minHoursWeek, Interval? rescheduleDateRange})
- Constraints.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- minHoursDay ↔ int?
-
Minimum number of hours must be allotted for the upgrade activities for
each selected day.
getter/setter pair
- minHoursWeek ↔ int?
-
The minimum number of weekly hours must be allotted for the upgrade
activities.
getter/setter pair
- rescheduleDateRange ↔ Interval?
-
The user can only reschedule an upgrade that starts within this range.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited