c<D> method

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

compose two functions together

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

Implementation

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