HomeDTO class
- Available extensions
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
-
HomeDTO({int? id, String? name, WeatherConditionDTO? weatherCondition, double? weatherTempF, WeatherTimePeriodDTO? weatherTimePeriod, AddressDTO? address, List<
DeviceDTO> ? devices, List<HomeUserDTO> ? users}) -
const
-
HomeDTO.fromJson(Map<
String, dynamic> json) -
factory
Properties
- address → AddressDTO?
-
final
-
devices
→ List<
DeviceDTO> ? -
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
-
users
→ List<
HomeUserDTO> ? -
final
- weatherCondition → WeatherConditionDTO?
-
final
- weatherTempF → double?
-
final
- weatherTimePeriod → WeatherTimePeriodDTO?
-
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 HomeDTO Function(Map<
String, dynamic> json) -
toJsonFactory
→ const Map<
String, dynamic> Function(HomeDTO instance)