getBounds method Null safety

Rectangle<num> getBounds ()

Implementation

Rectangle getBounds() native;