setShorthandPlaceSelf static method

void setShorthandPlaceSelf(
  1. Map<String, String?> properties,
  2. String shorthandValue
)

Implementation

static void setShorthandPlaceSelf(Map<String, String?> properties, String shorthandValue) {
  final ({String align, String justify})? axes = _parsePlaceShorthandAxes(shorthandValue);
  if (axes == null) return;
  properties[ALIGN_SELF] = axes.align;
  properties[JUSTIFY_SELF] = axes.justify;
}