HeaderLookAndFeel.fromJson constructor
Implementation
factory HeaderLookAndFeel.fromJson(Map<String, Object?> json) {
return HeaderLookAndFeel(
backgroundColor: json[r'backgroundColor'] as String? ?? '',
button: ButtonLookAndFeel.fromJson(
json[r'button'] as Map<String, Object?>? ?? const {}),
primaryNavigation: NavigationLookAndFeel.fromJson(
json[r'primaryNavigation'] as Map<String, Object?>? ?? const {}),
secondaryNavigation: NavigationLookAndFeel.fromJson(
json[r'secondaryNavigation'] as Map<String, Object?>? ?? const {}),
search: SearchFieldLookAndFeel.fromJson(
json[r'search'] as Map<String, Object?>? ?? const {}),
);
}