chain method

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

If this is Nothing, returns next. Otherwise return this..

Implementation

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