tryElementAt method
Returns the i
th element or null
if out of bounds.
Implementation
E? tryElementAt(int i) => i >= 0 && i < length ? elementAt(i) : null;
Returns the i
th element or null
if out of bounds.
E? tryElementAt(int i) => i >= 0 && i < length ? elementAt(i) : null;