inspect abstract method
Calls inspect with the contained value if this
is a Some.
Examples
// prints "2"
const Some(2).inspect(print);
// prints nothing
const None<int>().inspect(print);
Implementation
@useResult
Option<T> inspect(void Function(T value) inspect);