operator [] method

SummaryPart operator [](
  1. int pos
)

Implementation

SummaryPart operator [](int pos) => parts[pos];