operator [] method

  1. @override
EntityT operator [](
  1. int index
)
override

Gets the target object at the given index.

ToMany uses lazy initialization, so on first access this will read the target objects from the database.

Implementation

@override
EntityT operator [](int index) => _items[index];