setUnitExtraProps method
Set the extra properties for the unit Stores locally with unit-level tag (always overwrites page/global)
Implementation
void setUnitExtraProps(HashMap<String, String> extraProperties) async {
// Use utility method to handle property storage
final updatedKeys = TBLPropertiesUtils.setUnitExtraProps(
extraProperties, _unitExtraProperties, TAG, uniqueUnitId);
// Check if any updated properties are recognized properties that need special handling
final hasRecognizedProperties = updatedKeys
.any((key) => TBLPropertiesUtils.RECOGNIZED_EXTRA_PROPERTIES.contains(key));
// Apply unit-level consumption logic for known properties
if (hasRecognizedProperties) {
_applyUnitRecognizedExtraProperties();
}
}