getCssForProperties function
Implementation
String getCssForProperties(Map<String, dynamic> properties) {
return properties.entries
.where((entry) => entry.key != 'class' && entry.value != null)
.map((entry) => '${entry.key}: ${entry.value};')
.join();
}