getStackByIndex method Null safety

Value getStackByIndex(
  1. int i
)

Implementation

Value getStackByIndex(int i) => _stack[i];