The method generateToken returns Uint8List, I want to convert to String in order to send it to the backend.
I have tried
String.fromCharCodes(generatedToken);
and
Utf8Decoder().convert(generatedToken);
But none seems to work as expected. Can you guide me on the right approach?
The method
generateTokenreturnsUint8List, I want to convert to String in order to send it to the backend.I have tried
and
But none seems to work as expected. Can you guide me on the right approach?