toJson method
Implementation
@override
Map<String, dynamic>? toJson(IconData? object) {
if (object == null) return null;
return {
'codePoint': object.codePoint,
'fontFamily': object.fontFamily,
'fontPackage': object.fontPackage,
'matchTextDirection': object.matchTextDirection,
};
}