from static method

CSSBorder? from(
  1. Object? value
)
override

Implementation

static CSSBorder? from(Object? value) {
  if (value == null) return null;

  if (value is CSSBorder) return value;

  if (value is String) return CSSBorder.parse(value);

  return null;
}