toJson method
Implementation
@override
Map<String, dynamic>? toJson(CardTheme? value) {
if (value == null) return null;
return <String, dynamic>{
'clipBehavior': const NullableClipConverter().toJson(value.clipBehavior),
'color': const NullableColorConverter().toJson(value.color),
'elevation': value.elevation,
'margin': const NullableEdgeInsetsGeometryConverter()
.toJson(value.margin as EdgeInsets?),
'shadowColor': const NullableColorConverter().toJson(value.shadowColor),
'shape': const NullableShapeBorderConverter().toJson(value.shape),
};
throw 'Json_Unsuported_Value';
}