parseStringProperties static method
Parse stringProperties
to properties values.
Implementation
static Map<String, dynamic> parseStringProperties(
Map<String, String>? stringProperties) {
if (stringProperties == null || stringProperties.isEmpty) {
return <String, dynamic>{};
}
return stringProperties.map((k, v) => MapEntry(k, parseValue(v)));
}