Gauge constructor

Gauge(String name, String description, double min, double max)

Implementation

Gauge(String name, String description, this.min, this.max)
    : super(name, description) {
  ArgumentError.checkNotNull(min, 'min');
  ArgumentError.checkNotNull(max, 'max');
  if (!(min < max)) throw new ArgumentError('min must be less than max');
  _value = min;
}