ProjectState class
Constructors
- ProjectState({int? projectId, String projectName = "Nuevo Proyecto", String? client, String? reference, String? ownerPhone, String? ownerEmail, ElectricalNode? root, BudgetConfig? budgetConfig, bool isSaving = false, String? errorMessage, bool saveSuccess = false, String? electricalStandardId = 'rebt_spain', String? supplyVoltage = '400V III', String? installationUsage = 'Local de Pública Concurrencia', double? expectedPower = 15.0, double? powerFactor = 0.9, bool? requiresTechProject = true, bool? isNewLink = false})
-
const
Properties
- budgetConfig → BudgetConfig?
-
final
- client → String?
-
final
- electricalStandardId → String?
-
final
- errorMessage → String?
-
final
- expectedPower → double?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- installationUsage → String?
-
final
- isNewLink → bool?
-
final
- isSaving → bool
-
final
- ownerEmail → String?
-
final
- ownerPhone → String?
-
final
- powerFactor → double?
-
final
- projectId → int?
-
final
- projectName → String
-
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setteroverride
- reference → String?
-
final
- requiresTechProject → bool?
-
final
- root → ElectricalNode?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- saveSuccess → bool
-
final
- stringify → bool?
-
If set to
true, the toString method will be overridden to output this instance's props.no setterinherited - supplyVoltage → String?
-
final
Methods
-
copyWith(
{int? projectId, String? projectName, String? client, String? reference, String? ownerPhone, String? ownerEmail, ElectricalNode? root, BudgetConfig? budgetConfig, bool? isSaving, String? errorMessage, bool? saveSuccess, String? electricalStandardId, String? supplyVoltage, String? installationUsage, double? expectedPower, double? powerFactor, bool? requiresTechProject, bool? isNewLink}) → ProjectState -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited