readPng function Null safety

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

Renamed to decodePng, left for backward compatibility.

Implementation

Image? readPng(List<int> bytes) => decodePng(bytes);