portion_calculator_error abstract method

String portion_calculator_error(
  1. int min,
  2. int max
)

Error message to explain that the quantity is invalid.

In en, this message translates to: 'Please enter a quantity between {min} and {max} g'

Implementation

String portion_calculator_error(int min, int max);