traverseIOOptionWithIndex<B> method
Map each element in the list to a IOOption using the function f
,
and collect the result in an IOOption<List<B>>
.
Implementation
IOOption<List<B>> traverseIOOptionWithIndex<B>(
IOOption<B> Function(T a, int i) f,
) =>
IOOption.traverseListWithIndex(toList(), f);