notNull static method
Asserts that the value is not null
Implementation
static void notNull(dynamic value, [String? message]) {
if (value == null) {
throw AssertionError(message ?? 'Value must not be null');
}
}
Asserts that the value is not null
static void notNull(dynamic value, [String? message]) {
if (value == null) {
throw AssertionError(message ?? 'Value must not be null');
}
}