menu
pj package
documentation
pj.dart
Decoder<A>
withDefault method
withDefault method
dark_mode
light_mode
withDefault
method
Decoder
<
A
>
withDefault
(
A
a
)
Implementation
Decoder<A> withDefault(A a) => optional.map((x) => x.getOrElse(() => a));
pj package
documentation
pj
Decoder<A>
withDefault method
Decoder class