toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.suppressDefaultNotifications != null) {
json[r'suppressDefaultNotifications'] = this.suppressDefaultNotifications;
} else {
json[r'suppressDefaultNotifications'] = null;
}
if (this.notificationOverrideEmail != null) {
json[r'notificationOverrideEmail'] = this.notificationOverrideEmail;
} else {
json[r'notificationOverrideEmail'] = null;
}
if (this.notificationOverrideAppPush != null) {
json[r'notificationOverrideAppPush'] = this.notificationOverrideAppPush;
} else {
json[r'notificationOverrideAppPush'] = null;
}
return json;
}