Home constructor
- required int id,
- String? name,
- WeatherCondition weatherCondition = WeatherCondition.unknown,
- double? weatherTempF,
- WeatherTimePeriod? weatherTimePeriod,
- required DeviceAddress address,
- required List<
Device> devices, - required List<
HomeUserDTO> users,
Implementation
const Home({
required this.id,
this.name,
this.weatherCondition = WeatherCondition.unknown,
this.weatherTempF,
this.weatherTimePeriod,
required this.address,
required this.devices,
required this.users,
});