core.Map<core.String, core.dynamic> toJson() => { if (enableNotification != null) 'enableNotification': enableNotification!, };