ProtectionTemplate class abstract

Implemented types

Constructors

ProtectionTemplate({required String id, required String name, String? manufacturer, String? series, bool isFavorite, required double ratedCurrent, required String curveType, required double breakingCapacity, required int poles, ProtectionDeviceType deviceType, double? sensitivity, double? price})
const
factory

Properties

breakingCapacity double
no setter
copyWith → _$$ProtectionTemplateImplCopyWith<_$ProtectionTemplateImpl>
no setteroverride
curveType String
no setter
deviceType ProtectionDeviceType
no setter
hashCode int
The hash code for this object.
no setterinherited
id String
no setteroverride
isFavorite bool
no setteroverride
manufacturer String?
no setteroverride
name String
no setteroverride
poles int
no setter
price double?
no setteroverride
ratedCurrent double
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sensitivity 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