elementAtOrNull method

T? elementAtOrNull(
  1. int index
)

Implementation

T? elementAtOrNull(int index) {
  return index >= 0 && index < length ? elementAt(index) : null;
}