SmartSceneActiveTimeslot class

Represents the active time slot in execution.

Constructors

SmartSceneActiveTimeslot({required int timeslotId, required String weekday})
Creates a SmartSceneActiveTimeslot object.
SmartSceneActiveTimeslot.empty()
Creates an empty SmartSceneActiveTimeslot object.
SmartSceneActiveTimeslot.fromJson(Map<String, dynamic> dataMap)
Creates a SmartSceneActiveTimeslot object from the JSON response to a GET request.
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeslotId int
The ID of this time slot.
final
weekday String
The day of the week.
final

Methods

copyWith({int? timeslotId, String? weekday}) SmartSceneActiveTimeslot
Returns a copy of this object with its field values replaced by the ones provided to this method.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts this object into JSON format.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override