compose<F> method

F Function(A a, B b, C c, D d) compose<F>(
  1. F f(
    1. E e
    )
)

Compose two functions together

add.compose(print);
// is the same as
() => print(add());

Implementation

F Function(A a, B b, C c, D d) compose<F>(F Function(E e) f) =>
    (a, b, c, d) => f(this(a, b, c, d));