A new Flutter project.
In the lib folder create a folder and name it api, in the api folder create a dart file and name it api.dart
In the api.dart
set
String BASE_URL = 'https://api.openai.com/v1';
String BASE_API = 'YOUR API KEY';
Visit OpenAI to generate API KEY
String BASE_API = 'YOUR API KEY';