bind<R> method

Future<Validation<R>> bind<R>(
  1. Validation<R> f(
    1. T t
    )
)

Implementation

Future<Validation<R>> bind<R>(Validation<R> Function(T t) f) =>
    fold((fail) => Invalid<R>(fail), (v) => f(v!));