builder static method

ChatGPT builder({
  1. required String token,
})

Builder @param token token to access the openAPI endpoints generate token here https://beta.openai.com/account/api-keys

Implementation

static ChatGPT builder({required String token}) {
  _token = token;
  return _singleton;
}