DiagramRepositoryImpl class
- Implemented types
Constructors
- DiagramRepositoryImpl({required CablePresetsDataSource cablePresetsDataSource, required ProtectionPresetsDataSource protectionPresetsDataSource})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getAvailableCables(
) → List< CableDefinition> -
override
-
getAvailableProtections(
) → List< ProtectionDefinition> -
override
-
getSavedDiagrams(
) → Future< Either< Failure, List< >ElectricalNode> > -
override
-
loadDiagram(
String diagramId) → Future< Either< Failure, ElectricalNode> > -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveDiagram(
ElectricalNode root) → Future< Either< Failure, ElectricalNode> > -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited