assertNotNull<T> function
T
assertNotNull<T>(
- T value
Implementation
T assertNotNull<T>(T value) =>
value ??
nullPointer(
"Expected not-null value of type ${T.toString()}, but got null");