AvailableTime class
Represents the time during which the resource is available.
Constructors
-
AvailableTime({FixedList<
String> ? daysOfWeek, Time? availableStartTime, Time? availableEndTime}) - Constructs a new AvailableTime.
- AvailableTime.fromJson(JsonObject _json)
- Creates an AvailableTime instance from the provided JSON object.
Properties
- availableEndTime → Time?
-
The end time of availability.
no setter
- availableStartTime → Time?
-
The start time of availability.
no setter
-
daysOfWeek
→ FixedList<
String> ? -
The days of the week when the resource is available.
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- json → JsonObject
-
Converts this AvailableTime instance to a JSON object.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{FixedList< String> ? daysOfWeek, Time? availableStartTime, Time? availableEndTime}) → AvailableTime - Creates a copy of the AvailableTime instance and allows for non-destructive mutation.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
-
availableEndTimeField
→ const FieldDefinition<
Time> - Field definition for availableEndTime
-
availableStartTimeField
→ const FieldDefinition<
Time> - Field definition for availableStartTime
-
daysOfWeekField
→ const FieldDefinition<
FixedList< String> > - Field definition for daysOfWeek
-
fieldDefinitions
→ const List<
FieldDefinition< Object> > - All field definitions for AvailableTime