maybeParse static method

DimensionValue? maybeParse(
  1. dynamic value
)

Implementation

static DimensionValue? maybeParse(dynamic value) {
  if (value == null) return null;

  return DimensionValue(_parseNum(value.toString()));
}