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