getHeight function Null safety

double getHeight(
  1. double n
)

Implementation

double getHeight(double n) => ResponsiveSize().setHeight(n);