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