Check for errors delete my custom import on my fuction

Hello everyone.
I am creating a function where I need to work with a Uint8List file, I get an error because I must import 'dart:typed_data', the issue is that I do the respective import but when checking for errors flutterflow eliminates the import of 'dart:typed_data' , and it returns an error in Uint8List, no matter how many times I add the import flutterflow it will delete it

At the moment i check for errors then tuped_data import is automatically deleted and keeps showin my there is and error, it´s wierd for my, because un custom actions the same code works fine, but i need this code inside a function

2
3 replies