from static method

CSSMax? from(
  1. Object? o
)
override

Implementation

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

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

  return null;
}