operator [] method

dynamic operator [](
  1. dynamic index
)

Implementation

operator [](index) => items.firstWhere((item) => item.description == index);