of method
Returns the element at index or null if out of bounds or null.
Implementation
E? of(int index) {
if (isNotEmptyOrNull && index >= 0 && this!.length > index) {
return this!.elementAt(index);
}
return null;
}
Returns the element at index or null if out of bounds or null.
E? of(int index) {
if (isNotEmptyOrNull && index >= 0 && this!.length > index) {
return this!.elementAt(index);
}
return null;
}