FailureJoiner<T> typedef Null safety

FailureJoiner<T> = Failure<T> Function(Failure<T> first, Failure<T> second)

Function definition that joins parse Failure instances.

Implementation

typedef FailureJoiner<T> = Failure<T> Function(
    Failure<T> first, Failure<T> second);