Dart SDK
dart:core
RangeError
checkNotNegative
method
checkNotNegative
RangeError
Static methods
checkValueInInterval
checkValidIndex
checkValidRange
checkNotNegative
Properties
start
end
stackTrace
invalidValue
name
message
Constructors
RangeError
value
range
index
Methods
toString
void
checkNotNegative
(
int
value
,
[
String
name
,
String
message
]
)
Check that an integer value isn't negative.
Throws if the value is negative.