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