toOptions method

Iter<Option<T>> toOptions()

Implementation

@pragma("vm:prefer-inline")
Iter<Option<T>> toOptions() {
  return map((nullable) => Option.of(nullable));
}