A `Uint8List` is a list of one-byte integers. It's not a list of lists. So if you convert something to `Uint8List`, you will only have a list of integers. If you need a list of lists (though I'm guessing you probably don't), you would have to define another type.