compose<E> method

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

Compose two functions together

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

Implementation

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