ConductorAttributes constructor

const ConductorAttributes({
  1. @Default(10.0) double lengthMeters,
  2. @Default(6.0) double sectionMm2,
  3. @Default(ConductorMaterial.copper) ConductorMaterial material,
  4. @Default(CableInsulation.xlpe) CableInsulation insulation,
  5. @Default(InstallationMethod.b1) InstallationMethod method,
  6. @Default(CorrectionFactors()) CorrectionFactors factors,
  7. @Default('Cable') String label,
})

Implementation

const factory ConductorAttributes({
  @Default(10.0) double lengthMeters,
  @Default(6.0) double sectionMm2,
  @Default(ConductorMaterial.copper) ConductorMaterial material,
  @Default(CableInsulation.xlpe) CableInsulation insulation,
  @Default(InstallationMethod.b1) InstallationMethod method,
  @Default(CorrectionFactors()) CorrectionFactors factors,
  @Default('Cable') String label,
}) = _ConductorAttributes;