throwIfNullOrWhitespace static method
Throws an exception if argument is null, empty, or consists only of
white-space characters.
Implementation
static void throwIfNullOrWhitespace(String? argument, String? paramName) {
if (isNullOrWhitespace(argument)) {
_throwNullOrWhitespaceException(argument, paramName);
}
}