getCssForProperties function

String getCssForProperties(
  1. Map<String, dynamic> properties
)

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();
}