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