Home constructor

const Home({
  1. required int id,
  2. String? name,
  3. WeatherCondition weatherCondition = WeatherCondition.unknown,
  4. double? weatherTempF,
  5. WeatherTimePeriod? weatherTimePeriod,
  6. required DeviceAddress address,
  7. required List<Device> devices,
  8. 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,
});