checkNotNull static method
Implementation
static void checkNotNull(Object? object) {
if (object == null) {
try {
throw Exception("object is null");
} catch (e, stack) {
report(e: e, stack: stack);
rethrow;
}
}
}
static void checkNotNull(Object? object) {
if (object == null) {
try {
throw Exception("object is null");
} catch (e, stack) {
report(e: e, stack: stack);
rethrow;
}
}
}