setShorthandPlaceContent static method
Implementation
static void setShorthandPlaceContent(Map<String, String?> properties, String shorthandValue) {
if (shorthandValue.contains('/')) {
shorthandValue = splitByTopLevelDelimiter(shorthandValue, _slashCodeUnit).join(' ');
}
final List<String> values = _splitBySpace(shorthandValue);
if (values.isEmpty) return;
final String align = values[0];
final String justify = values.length > 1 ? values[1] : align;
properties[ALIGN_CONTENT] = align;
properties[JUSTIFY_CONTENT] = justify;
}