toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.id != null) {
json[r'id'] = this.id;
} else {
json[r'id'] = null;
}
if (this.subjectId != null) {
json[r'subjectId'] = this.subjectId;
} else {
json[r'subjectId'] = null;
}
if (this.minimalImmediateLevelEmail != null) {
json[r'minimalImmediateLevelEmail'] = this.minimalImmediateLevelEmail;
} else {
json[r'minimalImmediateLevelEmail'] = null;
}
if (this.summaryCadenceEmail != null) {
json[r'summaryCadenceEmail'] = this.summaryCadenceEmail;
} else {
json[r'summaryCadenceEmail'] = null;
}
if (this.summaryNotificationHourOfDay != null) {
json[r'summaryNotificationHourOfDay'] = this.summaryNotificationHourOfDay;
} else {
json[r'summaryNotificationHourOfDay'] = null;
}
if (this.summaryNotificationDayOfWeek != null) {
json[r'summaryNotificationDayOfWeek'] = this.summaryNotificationDayOfWeek;
} else {
json[r'summaryNotificationDayOfWeek'] = null;
}
return json;
}