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