decodeJpg function Null safety

Image decodeJpg(
  1. List<int> bytes
)

Decode a JPG formatted image.

Implementation

Image decodeJpg(List<int> bytes) => JpegDecoder().decodeImage(bytes);