isNotNull<T> function
void
isNotNull<T>(
- T target,
- T? value
Implementation
void isNotNull<T>(T target, T? value) {
if (value != null) {
target = value;
}
}
void isNotNull<T>(T target, T? value) {
if (value != null) {
target = value;
}
}