parseFromInlineProperties function

Map<String, String>? parseFromInlineProperties(
  1. String s, [
  2. StringMapper<String>? mapperKey,
  3. StringMapper<String>? mapperValue,
  4. Map<String, String>? def,
])

Parses an inline properties, like inline CSS, to a Map<String,String>.

Implementation

Map<String, String>? parseFromInlineProperties(String s,
    [StringMapper<String>? mapperKey,
    StringMapper<String>? mapperValue,
    Map<String, String>? def]) {
  return parseFromInlineMap(s, _inlinePropertiesDelimiterPairs,
      _inlinePropertiesDelimiterKeysValues, mapperKey, mapperValue, def);
}