LookAndFeel.fromJson constructor
Implementation
factory LookAndFeel.fromJson(Map<String, Object?> json) {
return LookAndFeel(
headings: LookAndFeelHeadings.fromJson(
json[r'headings'] as Map<String, Object?>? ?? const {}),
links: LookAndFeelLinks.fromJson(
json[r'links'] as Map<String, Object?>? ?? const {}),
menus: MenusLookAndFeel.fromJson(
json[r'menus'] as Map<String, Object?>? ?? const {}),
header: HeaderLookAndFeel.fromJson(
json[r'header'] as Map<String, Object?>? ?? const {}),
horizontalHeader: json[r'horizontalHeader'] != null
? HorizontalHeaderLookAndFeel.fromJson(
json[r'horizontalHeader']! as Map<String, Object?>)
: null,
content: ContentLookAndFeel.fromJson(
json[r'content'] as Map<String, Object?>? ?? const {}),
bordersAndDividers: LookAndFeelBordersAndDividers.fromJson(
json[r'bordersAndDividers'] as Map<String, Object?>? ?? const {}),
spaceReference: json[r'spaceReference'] as Map<String, Object?>?,
);
}