chain top-level property

Option<B> Function(Option<A>) Function<A, B>(Option<B> f(A)) chain
final

Alias for flatMap.

Provides a way to handle an Option by chaining function calls.

Implementation

final chain = flatMap;