parseBorderSide function
Implementation
BorderSide parseBorderSide(Map<String, dynamic>? map) {
if (map == null) return BorderSide.none;
if (!map.containsKey('color')) return BorderSide.none;
return BorderSide(
color: parseHexColor(map['color'])!,
width: map['width'] ?? 0,
style: BorderStyle.values[map['style']],
);
}