In case theres a value, keep it only if it is not null, otherwise return None.
null
Maybe<T> whereNotNull() => where((e) => e != null).cast();