toListNum method

List<num> toListNum()

Implementation

List<num> toListNum() => toDart.map((e) {
      var d = e.toDartDouble;
      var n = e.toDartInt;
      return d == n ? n : d;
    }).toList();