toWire method

Map<String, num> toWire()

Implementation

Map<String, num> toWire() => {
      'min': _wireNum(min),
      'max': _wireNum(max),
      if (step != null && step! > 0) 'step': _wireNum(step!),
    };