validateCount static method
Implementation
static void validateCount(int? count) {
if (count != null && count < 0) {
throw ArgumentError.value(
count,
'count',
'Must be greater than or equal to 0.',
);
}
}
static void validateCount(int? count) {
if (count != null && count < 0) {
throw ArgumentError.value(
count,
'count',
'Must be greater than or equal to 0.',
);
}
}