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