elementAtOrNull method

  1. @Deprecated("ElementAtOrNull is not supported as it would require consuming part of the iterator, which is likely not the users intent. Use nth() instead.")
Never elementAtOrNull(
  1. int index
)

Implementation

@Deprecated(
    "ElementAtOrNull is not supported as it would require consuming part of the iterator, which is likely not the users intent. Use nth() instead.")
Never elementAtOrNull(int index) =>
    throw "ElementAtOrNull is not supported as it would require consuming part of the iterator, which is likely not the users intent. Use nth() instead.";