frameCount property Null safety

int frameCount

Number of frames in this image.

Implementation

int get frameCount => _cachedFrameCount ??= _frameCount;