getImageFromCache method Null safety

  1. @override
Image? getImageFromCache(
  1. String fileName
)
override

Implementation

@override
Image? getImageFromCache(String fileName) {
  return Flame.images.fromCache(fileName);
}