getBounds method Null safety

Envelope getBounds()

Implementation

Envelope getBounds() {
  return bounds;
}