HomeV2 class
- Available extensions
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
-
HomeV2({int? id, String? name, WeatherConditionV2? weatherCondition, double? weatherTempF, WeatherTimePeriodV2? weatherTimePeriod, DeviceAddressV2? address, List<
DeviceV2> ? devices}) -
const
-
HomeV2.fromJson(Map<
String, dynamic> json) -
factory
Properties
- address → DeviceAddressV2?
-
final
-
devices
→ List<
DeviceV2> ? -
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → int?
-
final
- name → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- weatherCondition → WeatherConditionV2?
-
final
- weatherTempF → double?
-
final
- weatherTimePeriod → WeatherTimePeriodV2?
-
final
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
-
fromJsonFactory
→ const HomeV2 Function(Map<
String, dynamic> json) -
toJsonFactory
→ const Map<
String, dynamic> Function(HomeV2 instance)