Project constructor

const Project({
  1. int? id,
  2. required String name,
  3. String? reference,
  4. String? client,
  5. String? ownerPhone,
  6. String? ownerEmail,
  7. required DateTime createdAt,
  8. required DateTime updatedAt,
  9. ElectricalNode? root,
  10. String? electricalStandardId,
  11. BudgetConfig? budgetConfig,
  12. String? supplyVoltage,
  13. String? installationUsage,
  14. double? expectedPower,
  15. double? powerFactor,
  16. bool? requiresTechProject,
  17. bool? isNewLink,
})

Implementation

const Project({
  this.id,
  required this.name,
  this.reference,
  this.client,
  this.ownerPhone,
  this.ownerEmail,
  required this.createdAt,
  required this.updatedAt,
  this.root,
  this.electricalStandardId,
  this.budgetConfig,
  this.supplyVoltage,
  this.installationUsage,
  this.expectedPower,
  this.powerFactor,
  this.requiresTechProject,
  this.isNewLink,
});