toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var backgroundColor = this.backgroundColor;
  var button = this.button;
  var primaryNavigation = this.primaryNavigation;
  var secondaryNavigation = this.secondaryNavigation;
  var search = this.search;

  final json = <String, Object?>{};
  json[r'backgroundColor'] = backgroundColor;
  json[r'button'] = button.toJson();
  json[r'primaryNavigation'] = primaryNavigation.toJson();
  json[r'secondaryNavigation'] = secondaryNavigation.toJson();
  json[r'search'] = search.toJson();
  return json;
}