LookAndFeelSettings.fromJson constructor
Implementation
factory LookAndFeelSettings.fromJson(Map<String, Object?> json) {
return LookAndFeelSettings(
selected: LookAndFeelSettingsSelected.fromValue(
json[r'selected'] as String? ?? ''),
global: LookAndFeel.fromJson(
json[r'global'] as Map<String, Object?>? ?? const {}),
theme: json[r'theme'] != null
? LookAndFeel.fromJson(json[r'theme']! as Map<String, Object?>)
: null,
custom: LookAndFeel.fromJson(
json[r'custom'] as Map<String, Object?>? ?? const {}),
);
}