Text this: Pedagogical perspective on ChatGPT’s effectiveness as a learning tool for ESL writing