toJson method
Implementation
@override
Map<String, dynamic>? toJson(BorderRadius? object) {
if (object == null) return null;
return <String, dynamic>{
'bottomLeft': const NullableRadiusConverter().toJson(object.bottomLeft),
'bottomRight': const NullableRadiusConverter().toJson(object.bottomRight),
'topLeft': const NullableRadiusConverter().toJson(object.topLeft),
'topRight': const NullableRadiusConverter().toJson(object.topRight),
'type': 'only',
};
}