How do I convert an Image object to a Uint8List in flutter
I’m trying to save an image using SQFLite in the “BLOB” form. I know I can convert bytes into an image using Image.memory(bytes), but I have no idea how to convert the data from an Image object to an array of bytes.
Also to clarify I want to use flutters Image(‘package:flutter/material.dart’) and not(‘dart:ui’).