CableTemplate class abstract

Implemented types

Constructors

CableTemplate({required String id, required String name, String? manufacturer, String? series, bool isFavorite, required double section, required CableMaterial material, required String insulationType, required double maxOperatingTemp, String? installationMethod, double? price})
const
factory

Properties

copyWith → _$$CableTemplateImplCopyWith<_$CableTemplateImpl>
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
id String
no setteroverride
installationMethod String?
no setter
insulationType String
no setter
isFavorite bool
no setteroverride
manufacturer String?
no setteroverride
material CableMaterial
no setter
maxOperatingTemp double
no setter
name String
no setteroverride
price double?
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
section double
no setter
series String?
no setteroverride

Methods

map<TResult extends Object?>({required TResult protection(ProtectionTemplate value), required TResult cable(CableTemplate value), required TResult source(SourceTemplate value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? protection(ProtectionTemplate value)?, TResult? cable(CableTemplate value)?, TResult? source(SourceTemplate value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult protection(ProtectionTemplate value)?, TResult cable(CableTemplate value)?, TResult source(SourceTemplate value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult protection(String id, String name, String? manufacturer, String? series, bool isFavorite, double ratedCurrent, String curveType, double breakingCapacity, int poles, ProtectionDeviceType deviceType, double? sensitivity, double? price)?, TResult cable(String id, String name, String? manufacturer, String? series, bool isFavorite, double section, CableMaterial material, String insulationType, double maxOperatingTemp, String? installationMethod, double? price)?, TResult source(String id, String name, String? manufacturer, String? series, bool isFavorite, double voltage, double maxShortCircuitCurrent, double? ratedPower, SourceType sourceType, double? price)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult protection(String id, String name, String? manufacturer, String? series, bool isFavorite, double ratedCurrent, String curveType, double breakingCapacity, int poles, ProtectionDeviceType deviceType, double? sensitivity, double? price), required TResult cable(String id, String name, String? manufacturer, String? series, bool isFavorite, double section, CableMaterial material, String insulationType, double maxOperatingTemp, String? installationMethod, double? price), required TResult source(String id, String name, String? manufacturer, String? series, bool isFavorite, double voltage, double maxShortCircuitCurrent, double? ratedPower, SourceType sourceType, double? price)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? protection(String id, String name, String? manufacturer, String? series, bool isFavorite, double ratedCurrent, String curveType, double breakingCapacity, int poles, ProtectionDeviceType deviceType, double? sensitivity, double? price)?, TResult? cable(String id, String name, String? manufacturer, String? series, bool isFavorite, double section, CableMaterial material, String insulationType, double maxOperatingTemp, String? installationMethod, double? price)?, TResult? source(String id, String name, String? manufacturer, String? series, bool isFavorite, double voltage, double maxShortCircuitCurrent, double? ratedPower, SourceType sourceType, double? price)?}) → TResult?
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited