addIfNotNull method
void
addIfNotNull(
- T? blah
add to list if the item is not null
Implementation
void addIfNotNull(T? blah) {
if (blah != null) {
this.add(blah);
}
}
add to list if the item is not null
void addIfNotNull(T? blah) {
if (blah != null) {
this.add(blah);
}
}