filter method
Implementation
@override
// ignore: prefer_const_constructors
Option<T> filter(bool Function(T t) f) => f(_value) ? this : Option.none();
@override
// ignore: prefer_const_constructors
Option<T> filter(bool Function(T t) f) => f(_value) ? this : Option.none();