TimeSlot class
Represents a period of time, with a start and an end.
This is typically used to specify the duration of an event, or a possible time slot for an event.
Constructors
- TimeSlot.new({Time? start, Time? end})
- Creates a new instance of TimeSlot.
-
TimeSlot.fromJson(Map<
String, dynamic> json) -
Creates a new instance of TimeSlot from a JSON object.
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts this TimeSlot instance to a JSON object.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited