iter method

Iterable<S> iter()
override

Returns an iterable over the possibly contained value. The iterator yields one value if the result is Ok, otherwise none.

Implementation

Iterable<S> iter() sync* {
  yield ok;
}