See RaylibCoreDart.ImageToPOT.
void ImageToPOT( Image image, Color fill, ) => _module.ImageToPOT(image, fill);