toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.presentationId != null) {
json[r'presentationId'] = this.presentationId;
} else {
json[r'presentationId'] = null;
}
if (this.title != null) {
json[r'title'] = this.title;
} else {
json[r'title'] = null;
}
if (this.notes != null) {
json[r'notes'] = this.notes;
} else {
json[r'notes'] = null;
}
if (this.layout != null) {
json[r'layout'] = this.layout;
} else {
json[r'layout'] = null;
}
if (this.backgroundColor != null) {
json[r'backgroundColor'] = this.backgroundColor;
} else {
json[r'backgroundColor'] = null;
}
if (this.backgroundImageUrl != null) {
json[r'backgroundImageUrl'] = this.backgroundImageUrl;
} else {
json[r'backgroundImageUrl'] = null;
}
if (this.textColor != null) {
json[r'textColor'] = this.textColor;
} else {
json[r'textColor'] = null;
}
if (this.transition != null) {
json[r'transition'] = this.transition;
} else {
json[r'transition'] = null;
}
if (this.position != null) {
json[r'position'] = this.position;
} else {
json[r'position'] = null;
}
return json;
}