LoadNodeDto constructor

const LoadNodeDto({
  1. required String id,
  2. required String name,
  3. ElectricalState state,
  4. ConductorAttributes? inputCable,
  5. MeasurementState? lastMeasurement,
  6. AssetMetadata assetMetadata,
  7. double powerWatts,
  8. double cosPhi,
  9. LoadType type,
  10. bool isThreePhase,
  11. CatalogMetadata? cableCatalogData,
})

Implementation

const factory LoadNodeDto(
    {required final String id,
    required final String name,
    final ElectricalState state,
    final ConductorAttributes? inputCable,
    final MeasurementState? lastMeasurement,
    final AssetMetadata assetMetadata,
    final double powerWatts,
    final double cosPhi,
    final LoadType type,
    final bool isThreePhase,
    final CatalogMetadata? cableCatalogData}) = _$LoadNodeDtoImpl;