ProjectState constructor

const ProjectState({
  1. int? projectId,
  2. String projectName = "Nuevo Proyecto",
  3. String? client,
  4. String? reference,
  5. String? ownerPhone,
  6. String? ownerEmail,
  7. ElectricalNode? root,
  8. BudgetConfig? budgetConfig,
  9. bool isSaving = false,
  10. String? errorMessage,
  11. bool saveSuccess = false,
  12. String? electricalStandardId = 'rebt_spain',
  13. String? supplyVoltage = '400V III',
  14. String? installationUsage = 'Local de Pública Concurrencia',
  15. double? expectedPower = 15.0,
  16. double? powerFactor = 0.9,
  17. bool? requiresTechProject = true,
  18. bool? isNewLink = false,
})

Implementation

const ProjectState({
  this.projectId,
  this.projectName = "Nuevo Proyecto",
  this.client,
  this.reference,
  this.ownerPhone,
  this.ownerEmail,
  this.root,
  this.budgetConfig,
  this.isSaving = false,
  this.errorMessage,
  this.saveSuccess = false,
  this.electricalStandardId = 'rebt_spain',
  this.supplyVoltage = '400V III',
  this.installationUsage = 'Local de Pública Concurrencia',
  this.expectedPower = 15.0,
  this.powerFactor = 0.9,
  this.requiresTechProject = true,
  this.isNewLink = false,
});