whenOrNull<TResult extends Object?> method
- TResult? protection()?,
- TResult? cable()?,
- TResult? source()?,
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function(
String id,
String name,
String? manufacturer,
String? series,
bool isFavorite,
double ratedCurrent,
String curveType,
double breakingCapacity,
int poles,
ProtectionDeviceType deviceType,
double? sensitivity,
double? price)?
protection,
TResult? Function(
String id,
String name,
String? manufacturer,
String? series,
bool isFavorite,
double section,
CableMaterial material,
String insulationType,
double maxOperatingTemp,
String? installationMethod,
double? price)?
cable,
TResult? Function(
String id,
String name,
String? manufacturer,
String? series,
bool isFavorite,
double voltage,
double maxShortCircuitCurrent,
double? ratedPower,
SourceType sourceType,
double? price)?
source,
}) =>
throw _privateConstructorUsedError;