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