toJson method
Implementation
Map<String, Object?> toJson() {
var headings = this.headings;
var links = this.links;
var menus = this.menus;
var header = this.header;
var horizontalHeader = this.horizontalHeader;
var content = this.content;
var bordersAndDividers = this.bordersAndDividers;
var spaceReference = this.spaceReference;
final json = <String, Object?>{};
json[r'headings'] = headings.toJson();
json[r'links'] = links.toJson();
json[r'menus'] = menus.toJson();
json[r'header'] = header.toJson();
if (horizontalHeader != null) {
json[r'horizontalHeader'] = horizontalHeader.toJson();
}
json[r'content'] = content.toJson();
json[r'bordersAndDividers'] = bordersAndDividers.toJson();
if (spaceReference != null) {
json[r'spaceReference'] = spaceReference;
}
return json;
}