How to save a blob via the web/ browser?

Custom Code

There is an API that returns a string to me in the response body that is a PDF.

I want to save this PDF via the web/browser.

Reading several sites I understood that I have to use BLOB.

I assembled the sequence but I can't send the BLOB to be downloaded by the browser.

Please, can you help me?

What have you tried so far?

I was trying to use WriteAsByte but it comes from the dart.io library and this library is only for android and ios - it is not suitable for the web. The documents I read talk about BLOB.

Did you check FlutterFlow's Documentation for this topic?
Yes