filterNonNullable method

  1. @Deprecated('Use whereNotNull, as it has an better name')
Maybe<T> filterNonNullable()

In case theres a value, keep it only if it is not null, otherwise return None.

Implementation

@Deprecated('Use whereNotNull, as it has an better name')
Maybe<T> filterNonNullable() => whereNotNull();