Gauge constructor
Implementation
Gauge(String name, String description, this.min, this.max) : _value = min, super(name, description) { // TODO: When NNBD is complete, delete the following two lines. ArgumentError.checkNotNull(min, 'min'); ArgumentError.checkNotNull(max, 'max'); if (!(min < max)) throw new ArgumentError('min must be less than max'); }
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-developer/Gauge/Gauge.html