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