Leeds United midfielder Joe Rothwell has claimed his short stint on Barnsley’s books “stood him in good stead”.