Calls the consumer if the wrapped value is present.
consumer
@override Nothing<T> ifPresent(void Function(T value) consumer) => this;