SmartSceneWeekStartTime class

Represent the time that a smart scene timeslot starts.

Constructors

SmartSceneWeekStartTime({required String kind, required int hour, required int minute, required int second})
Creates a SmartSceneWeekStartTime object.
SmartSceneWeekStartTime.empty()
Creates an empty SmartSceneWeekStartTime object.
SmartSceneWeekStartTime.fromJson(Map<String, dynamic> dataMap)
Creates a SmartSceneWeekStartTime object from the JSON response to a GET request.
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
hour int
Range: 0 - 23 (inclusive)
getter/setter pair
kind String
"time"
getter/setter pair
minute int
Range: 0 - 59 (inclusive)
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
second int
Range: 0 - 59 (inclusive)
getter/setter pair

Methods

copyWith({String? kind, int? hour, int? minute, int? second, bool copyOriginalValues = true}) SmartSceneWeekStartTime
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
refreshOriginals() → void
Called after a successful PUT request, this method refreshed the "original" data in this object.
toJson({OptimizeFor optimizeFor = OptimizeFor.put}) 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