getBitmapData method Null safety

BitmapData getBitmapData(
  1. String name
)

Implementation

BitmapData getBitmapData(String name) =>
    _getResourceValue('BitmapData', name) as BitmapData;