LoadNodeDto class abstract
- Implemented types
- Available extensions
Constructors
- LoadNodeDto({required String id, required String name, ElectricalState state, ConductorAttributes? inputCable, MeasurementState? lastMeasurement, AssetMetadata assetMetadata, double powerWatts, double cosPhi, LoadType type, bool isThreePhase, CatalogMetadata? cableCatalogData})
-
constfactory
-
LoadNodeDto.fromJson(Map<
String, dynamic> json) -
factory
Properties
- assetMetadata → AssetMetadata
-
no setteroverride
- cableCatalogData → CatalogMetadata?
-
no setter
-
copyWith
→ _$$LoadNodeDtoImplCopyWith<
_$LoadNodeDtoImpl> -
no setteroverride
- cosPhi → double
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
no setteroverride
- inputCable → ConductorAttributes?
-
no setter
- isThreePhase → bool
-
no setter
- lastMeasurement → MeasurementState?
-
no setteroverride
- name → String
-
no setteroverride
- powerWatts → double
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → ElectricalState
-
no setteroverride
- type → LoadType
-
no setter
Methods
-
map<
TResult extends Object?> ({required TResult source(SourceNodeDto value), required TResult panel(PanelNodeDto value), required TResult protection(ProtectionNodeDto value), required TResult load(LoadNodeDto value)}) → TResult -
inherited
-
mapOrNull<
TResult extends Object?> ({TResult? source(SourceNodeDto value)?, TResult? panel(PanelNodeDto value)?, TResult? protection(ProtectionNodeDto value)?, TResult? load(LoadNodeDto value)?}) → TResult? -
inherited
-
maybeMap<
TResult extends Object?> ({TResult source(SourceNodeDto value)?, TResult panel(PanelNodeDto value)?, TResult protection(ProtectionNodeDto value)?, TResult load(LoadNodeDto value)?, required TResult orElse()}) → TResult -
inherited
-
maybeWhen<
TResult extends Object?> ({TResult source(String id, String name, ElectricalState state, double nominalVoltage, double shortCircuitCapacity, ConductorAttributes? mainFeedCable, MeasurementState? lastMeasurement, AssetMetadata assetMetadata, List< ElectricalNodeDto> children)?, TResult panel(String id, String name, ElectricalState state, double nominalVoltage, ConductorAttributes? inputCable, MeasurementState? lastMeasurement, AssetMetadata assetMetadata, List<ElectricalNodeDto> children)?, TResult protection(String id, String name, ElectricalState state, MeasurementState? lastMeasurement, AssetMetadata assetMetadata, ProtectionType protectionType, double ratingAmps, double? pdc, String curve, double sensitivity, int poles, List<ElectricalNodeDto> children, CatalogMetadata? catalogData, CatalogMetadata? cableCatalogData)?, TResult load(String id, String name, ElectricalState state, ConductorAttributes? inputCable, MeasurementState? lastMeasurement, AssetMetadata assetMetadata, double powerWatts, double cosPhi, LoadType type, bool isThreePhase, CatalogMetadata? cableCatalogData)?, required TResult orElse()}) → TResult -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDomain(
) → ElectricalNode -
Available on ElectricalNodeDto, provided by the ElectricalNodeDtoX extension
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> ({required TResult source(String id, String name, ElectricalState state, double nominalVoltage, double shortCircuitCapacity, ConductorAttributes? mainFeedCable, MeasurementState? lastMeasurement, AssetMetadata assetMetadata, List< ElectricalNodeDto> children), required TResult panel(String id, String name, ElectricalState state, double nominalVoltage, ConductorAttributes? inputCable, MeasurementState? lastMeasurement, AssetMetadata assetMetadata, List<ElectricalNodeDto> children), required TResult protection(String id, String name, ElectricalState state, MeasurementState? lastMeasurement, AssetMetadata assetMetadata, ProtectionType protectionType, double ratingAmps, double? pdc, String curve, double sensitivity, int poles, List<ElectricalNodeDto> children, CatalogMetadata? catalogData, CatalogMetadata? cableCatalogData), required TResult load(String id, String name, ElectricalState state, ConductorAttributes? inputCable, MeasurementState? lastMeasurement, AssetMetadata assetMetadata, double powerWatts, double cosPhi, LoadType type, bool isThreePhase, CatalogMetadata? cableCatalogData)}) → TResult -
inherited
-
whenOrNull<
TResult extends Object?> ({TResult? source(String id, String name, ElectricalState state, double nominalVoltage, double shortCircuitCapacity, ConductorAttributes? mainFeedCable, MeasurementState? lastMeasurement, AssetMetadata assetMetadata, List< ElectricalNodeDto> children)?, TResult? panel(String id, String name, ElectricalState state, double nominalVoltage, ConductorAttributes? inputCable, MeasurementState? lastMeasurement, AssetMetadata assetMetadata, List<ElectricalNodeDto> children)?, TResult? protection(String id, String name, ElectricalState state, MeasurementState? lastMeasurement, AssetMetadata assetMetadata, ProtectionType protectionType, double ratingAmps, double? pdc, String curve, double sensitivity, int poles, List<ElectricalNodeDto> children, CatalogMetadata? catalogData, CatalogMetadata? cableCatalogData)?, TResult? load(String id, String name, ElectricalState state, ConductorAttributes? inputCable, MeasurementState? lastMeasurement, AssetMetadata assetMetadata, double powerWatts, double cosPhi, LoadType type, bool isThreePhase, CatalogMetadata? cableCatalogData)?}) → TResult? -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited