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