whereNotNull method
Transforms null
into None
In case theres a value, keep it only if it is not null
, otherwise
return None.
Implementation
/// In case theres a value, keep it only if it is not [null], otherwise
/// return [None].
@Deprecated('Deprecated for non nullable types!')
Maybe<T> whereNotNull() => this;