toList property

List<double> toList

閾値をリストに変換

negative, positive, rangeの順にリストに変換 nullの場合はnanに変換

Implementation

List<double> get toList {
  final List<double> thresholdList = [
    negative ?? double.nan,
    positive ?? double.nan,
    range ?? double.nan,
  ];

  return thresholdList;
}