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