menu
either_option package
documentation
either_option.dart
Option<A>
of<A> static method
of<A> static method
dark_mode
light_mode
of<
A
>
static method
Option
<
A
>
of
<
A
>(
A?
a
)
Return
None
if null else
Some
of A
Implementation
static Option<A> of<A>(A? a) => a != null ? _some(a) : _none();
either_option package
documentation
either_option
Option<A>
of<A> static method
Option class