getStock method

double getStock()

Implementation

double getStock()=> (stock ?? 0) + .0;