On this page
RangeError.value constructor
RangeError.value(Create a new RangeError with a message for the given value
.
An optional name
can specify the argument name that has the invalid value, and the message
can override the default error description.
Source
RangeError.value(num value, [String name, String message])
: start = null,
end = null,
super.value(
value, name, (message != null) ? message : "Value not in range");
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-core/RangeError/RangeError.value.html