Code examples don't work, neither demo app
I tried to cut and paste example code
` final gemini = Gemini.instance;
gemini
.text("Write a story about a magic backpack.")
.then((value) => print(value?.output))
/// or value?.content?.parts?.last.text
.catchError((e) => print(e));
`
and the response is
**GeminiException** => This exception was thrown because the response has a status code of 400 and RequestOptions.validateStatus was configured to throw for this status code.
So I tried other code examples, and none of them work. Then I tried demo app, and TADAAA, it doesn't work either. I guess there is something wrong :D
Edit: it seems to be related to my local region (Italy).
I'm having the same problem. Japan region.
The same problem... Russia, Thailand
Please pull the latest code, the issue is from the model, Gemini pro is depreciated so it has been changed to Gemini flash