toJson method
Implementation
@override
Map<String, dynamic>? toJson(BorderSide? object) {
if (object == null) return null;
return <String, dynamic>{
'color': const NullableColorConverter().toJson(object.color),
'style': const NullableBorderStyleConverter().toJson(object.style),
'width': object.width,
};
}