decodeBmp function Null safety

Image? decodeBmp (
  1. List<int> bytes
)

Decode a BMP formatted image.

Implementation

Image? decodeBmp(List<int> bytes) => BmpDecoder().decodeImage(bytes);