operator [] method

MtgCard operator [](
  1. int index
)

Returns the index element.

Implementation

MtgCard operator [](int index) => data[index];