fallback method

  1. @override
Maybe<T> fallback(
  1. Maybe<T> next()
)
override

If this is Nothing, returns the result of next. Otherwise return this..

Implementation

@override
Maybe<T> fallback(Maybe<T> Function() next) => this;