throwIfNullOrEmpty static method
Throws an exception if argument is null or empty.
Implementation
static void throwIfNullOrEmpty(String? argument, String? paramName) {
if (isNullOrEmpty(argument)) {
_throwNullOrEmptyException(argument, paramName);
}
}