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