require function
Throw an ArgumentError with message
and value
if check
is false.
Implementation
require(bool check, String message, String value) {
if (!check) {
throw ArgumentError(message, value);
}
}
Throw an ArgumentError with message
and value
if check
is false.
require(bool check, String message, String value) {
if (!check) {
throw ArgumentError(message, value);
}
}