parse static method

CSSGeneric? parse(
  1. String? value
)

Implementation

static CSSGeneric? parse(String? value) {
  if (value == null) return null;
  value = value.trim();
  if (value.isEmpty) return null;
  return CSSGeneric(value);
}