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