getBorderSide method
Implementation
BorderSide? getBorderSide(Map? spec) {
if (spec == null || spec.isEmpty) {
return null;
}
return BorderSide(
color: parseColor(spec["color"], defaultColor: Colors.black),
width: parseDouble(spec["width"], defaultValue: 1.0),
);
}