inspect method

  1. @override
Option<T> inspect(
  1. void onSome(
    1. T
    )
)
override

Implementation

@override
Option<T> inspect(void Function(T) onSome) {
  onSome(value);
  return this;
}