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; }
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-developer/Gauge/Gauge.html