See RaylibCoreDart.LoadImageColors.
List<ColorD> LoadImageColors( ImageD image, ) => _module.LoadImageColors(image);