elementAtOrNull method

T? elementAtOrNull(
  1. int index
)

Implementation

T? elementAtOrNull(int index) => (index < length) ? this[index] : null;