ConsumptionAppDTO constructor

ConsumptionAppDTO({
  1. int? id,
  2. String? type,
  3. String? category,
  4. String? categoryCode,
  5. String? typeCode,
  6. String? modelName,
  7. String? name,
  8. List<String> objectNames = const [],
  9. Map<String, ValueDTO> lastValues = const {},
  10. DateTime? lastValueReceived,
  11. ConsumptionAppDTOReceptionStatusEnum? receptionStatus,
})

Returns a new ConsumptionAppDTO instance.

Implementation

ConsumptionAppDTO({
  this.id,
  this.type,
  this.category,
  this.categoryCode,
  this.typeCode,
  this.modelName,
  this.name,
  this.objectNames = const [],
  this.lastValues = const {},
  this.lastValueReceived,
  this.receptionStatus,
});