filterNonNullable method

  1. @Deprecated('Use whereNotNull, as it has an better name')
  2. @Deprecated('Deprecated for non nullable types!')
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')
@Deprecated('Deprecated for non nullable types!')
Maybe<T> filterNonNullable() => this;