compose<D> method
D Function(A a, B b)
compose<D>(
- D f(
- C c
Compose two functions together
add.compose(print);
// is the same as
() => print(add());
Implementation
D Function(A a, B b) compose<D>(D Function(C c) f) => (a, b) => f(this(a, b));