Code after migration:

Uint8List

verticallyFlipImage

Uint8List

sourceBytes

int

width

int

height

// Same as the example above.

late

Future

bool

imageRawUsesCorrectBehavior

(()

async

final

ui

ImageDescriptor

descriptor

ui

ImageDescriptor

raw

await

ui

ImmutableBuffer

fromUint8List

Uint8List

fromList

(<

int

>[

0xED

0xFF