fromJson method
Implementation
@override
IconThemeData? fromJson(Map<String, dynamic>? json) {
if (json == null) return null;
return IconThemeData(
color: const NullableColorConverter().fromJson(
json['color'],
),
opacity: (json['opacity'] as num?)?.toDouble(),
size: (json['size'] as num?)?.toDouble(),
);
}