ParameterTile constructor
ParameterTile({ - Key? key,
- required int deviceId,
- required String name,
- String? value,
- DateTime? controllerClockTime,
- GeneratorTrend? trend,
- String? tooltip,
- LoadShedValue? loadShed,
- PimValue? pim,
- ConnectionType? connectionType,
- String? infoText,
- Set<String>? existingNames,
})
Implementation
ParameterTile({
super.key,
required this.deviceId,
required this.name,
this.value,
this.controllerClockTime,
this.trend,
this.tooltip,
this.loadShed,
this.pim,
this.connectionType,
this.infoText,
this.existingNames,
}) : assert([trend, tooltip].whereNotNull().length <= 1),
assert(
[value, loadShed, pim, connectionType, controllerClockTime]
.whereNotNull()
.length <=
1,
);