ThemeConfiguration.fromJson constructor
ThemeConfiguration.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ThemeConfiguration.fromJson(Map<String, dynamic> json) {
return ThemeConfiguration(
dataColorPalette: json['DataColorPalette'] != null
? DataColorPalette.fromJson(
json['DataColorPalette'] as Map<String, dynamic>)
: null,
sheet: json['Sheet'] != null
? SheetStyle.fromJson(json['Sheet'] as Map<String, dynamic>)
: null,
uIColorPalette: json['UIColorPalette'] != null
? UIColorPalette.fromJson(
json['UIColorPalette'] as Map<String, dynamic>)
: null,
);
}