from static method 
    
    
    
  Implementation
  static CSSValue? from(Object value, [String? name]) {
  if (name != null && name.isNotEmpty) {
    return CSSValue.parseByName(value, name);
  }
  CSSValue? cssValue;
  cssValue = CSSNumber.from(value);
  if (cssValue != null) return cssValue;
  cssValue = CSSLength.from(value);
  if (cssValue != null) return cssValue;
  cssValue = CSSColor.from(value);
  if (cssValue != null) return cssValue;
  cssValue = CSSURL.from(value);
  if (cssValue != null) return cssValue;
  cssValue = CSSFunction.from(value);
  if (cssValue != null) return cssValue;
  return CSSGeneric.from(value);
}