toJson method

  1. @override
Map<String, String?> toJson(
  1. IconData object
)

Implementation

@override
Map<String, String?> toJson(IconData object) {
  return {
    'codePoint': '${object.codePoint}',
    'fontFamily': object.fontFamily,
    'fontPackage': object.fontPackage,
    'matchTextDirection': '${object.matchTextDirection}',
  };
}