loadImage method Null safety

  1. @override
Future<Image?> loadImage(
  1. String fileName
)
override

Implementation

@override
Future<Image?> loadImage(String fileName) {
  return Flame.images.load(fileName);
}