getPrice method

double? getPrice()

Implementation

double? getPrice() => _price;