from static method

CSSMin? from(
  1. Object? o
)
override

Implementation

static CSSMin? from(Object? o) {
  if (o == null) return null;

  if (o is CSSMin) {
    return o;
  } else if (o is String) {
    return CSSMin.parse(o);
  }

  return null;
}