Optional<U> flatMap<U>(Optional<U> Function(T) f) => iif( some: (value) => f(value), none: () => Optional<U>.none(), );