StatisticValue constructor
StatisticValue({
- StatisticId? id,
- double? value,
- Iterable<
MapEntry< ? dimmensions,String, StatisticValue> > - double? min,
- double? max,
- double? avg,
- int? count,
Implementation
factory StatisticValue({
$1.StatisticId? id,
$core.double? value,
$core.Iterable<$core.MapEntry<$core.String, StatisticValue>>? dimmensions,
$core.double? min,
$core.double? max,
$core.double? avg,
$core.int? count,
}) {
final result = create();
if (id != null) result.id = id;
if (value != null) result.value = value;
if (dimmensions != null) result.dimmensions.addEntries(dimmensions);
if (min != null) result.min = min;
if (max != null) result.max = max;
if (avg != null) result.avg = avg;
if (count != null) result.count = count;
return result;
}