Image.fromDecodedImage constructor

Image.fromDecodedImage(
  1. Image image
)

Implementation

factory Image.fromDecodedImage(img.Image image) =>
    Image(Uint8List.fromList(img.encodeJpg(image).toList()));