decodeBoxBorder static method
Implementation
static HWBoxBorder? decodeBoxBorder(DartObject? obj) {
if (obj == null || obj.isNull) return null;
final color = decodeColor(getField(obj, 'color'));
if (color == null) return null;
return HWBoxBorder(
radius: getField(obj, 'radius')?.toDoubleValue() ?? 0.0,
thickness: getField(obj, 'thickness')?.toDoubleValue() ?? 0.0,
color: color,
);
}