ifNothing abstract method

Maybe<T> ifNothing(
  1. void callback()
)

Calls the callback function if the wrapped value is not present.

Implementation

Maybe<T> ifNothing(void Function() callback);