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
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