toJson method
Implementation
Map<String, Object?> toJson() {
var routeOverrideEnabled = this.routeOverrideEnabled;
var editor = this.editor;
var spaceKey = this.spaceKey;
var links = this.links;
final json = <String, Object?>{};
json[r'routeOverrideEnabled'] = routeOverrideEnabled;
if (editor != null) {
json[r'editor'] = editor.toJson();
}
if (spaceKey != null) {
json[r'spaceKey'] = spaceKey;
}
json[r'_links'] = links.toJson();
return json;
}