menu
cowpay package
documentation
core/packages/dartz/dartz.dart
StateMonad<S>
pure<A> method
pure<A> method
dark_mode
light_mode
pure<
A
>
method
@
override
State
<
S
,
A
>
pure
<
A
>(
A
a
)
override
Implementation
@override State<S, A> pure<A>(A a) => new State((S s) => new Tuple2(a, s));
cowpay package
documentation
core/packages/dartz/dartz
StateMonad<S>
pure<A> method
StateMonad class