fp/fp
library
Functions
-
chain(VoidCallback ch1, VoidCallback ch2)
→ void
-
-
chain3(VoidCallback ch1, VoidCallback ch2, VoidCallback ch3)
→ void
-
-
chain3Async(AsyncCallback ch1, AsyncCallback ch2, AsyncCallback ch3)
→ Future<void>
-
-
chain4(VoidCallback ch1, VoidCallback ch2, VoidCallback ch3, VoidCallback ch4)
→ void
-
-
chain4Async(AsyncCallback ch1, AsyncCallback ch2, AsyncCallback ch3, AsyncCallback ch4)
→ Future<void>
-
-
chain5(VoidCallback ch1, VoidCallback ch2, VoidCallback ch3, VoidCallback ch4, VoidCallback ch5)
→ void
-
-
chain5Async(AsyncCallback ch1, AsyncCallback ch2, AsyncCallback ch3, AsyncCallback ch4, AsyncCallback ch5)
→ Future<void>
-
-
chain6(VoidCallback ch1, VoidCallback ch2, VoidCallback ch3, VoidCallback ch4, VoidCallback ch5, VoidCallback ch6)
→ void
-
-
chain6Async(AsyncCallback ch1, AsyncCallback ch2, AsyncCallback ch3, AsyncCallback ch4, AsyncCallback ch5, AsyncCallback ch6)
→ Future<void>
-
-
chain7(VoidCallback ch1, VoidCallback ch2, VoidCallback ch3, VoidCallback ch4, VoidCallback ch5, VoidCallback ch6, VoidCallback ch7)
→ void
-
-
chainAsync(AsyncCallback ch1, AsyncCallback ch2)
→ Future<void>
-
-
delayed(FutureOr call(), [int t = 0])
→ Future<void>
-
-
doubleDelayed(FutureOr callOne(), FutureOr callTwo(), [int t1 = 0, int t2 = 0])
→ Future<void>
-
-
ifElse<T>(bool condition, T ifTrue(), T ifFalse())
→ T
-
-
ifElseAsync<T>(bool condition, FutureOr<T> ifTrue(), FutureOr<T> ifFalse())
→ Future<T>
-
-
onlyIf<T>(bool condition, T block())
→ T?
-
-
onlyIfAsync<T>(bool condition, FutureOr<T> block())
→ Future<T?>
-
-
pipe2<S, T, U>(Func1<S, T> f1, Func1<T, U> f2)
→ Func1<S, U>
-
-
pipe2Func<T, U, V>(Func0<T> f1, Func1<T, U> f2, Func1<U, V> f3)
→ V
-
-
pipe3Func<T, U, V, W>(Func0<T> f1, Func1<T, U> f2, Func1<U, V> f3, Func1<V, W> f4)
→ W
-
-
pipeFunc<T, U>(Func0<T> f1, Func1<T, U> f2)
→ U
-
-
quadDelayed(FutureOr callOne(), FutureOr callTwo(), FutureOr callThree(), FutureOr callFour(), [int t1 = 0, int t2 = 0, int t3 = 0, int t4 = 0])
→ Future<void>
-
-
run<R>(R block())
→ R
-
-
thirdDelayed(FutureOr callOne(), FutureOr callTwo(), FutureOr callThree(), [int t1 = 0, int t2 = 0, int t3 = 0])
→ Future<void>
-
Typedefs
-
Func0<A>
= A Function()
-
-
Func1<A, B>
= B Function(A a)
-