getValue method Null safety

double? getValue(
  1. String valueKey
)

Returns the stored product nutrient's value.

Implementation

double? getValue(final String valueKey) => _values[valueKey];