Logic to activate getByIds.
getByIds
typedef GetByIds<T> = Future<List<T>> Function(ReadByIdsOperation<T>);