Parameter constructor

Parameter({
  1. required String type,
  2. required double value,
  3. required String name,
  4. required String unit,
})

Creates a Parameter instance.

type: The parameter type. See PredefinedParameterTypeValues for possible values. value: The parameter value. name: The translated name according to the current SDK language. unit: The unit of the parameter.

Implementation

Parameter({
  required this.type,
  required this.value,
  required this.name,
  required this.unit,
});