operator [] method Null safety

Image operator [](
  1. int index
)

Get the frame at the given index.

Implementation

Image operator [](int index) => frames[index];