unit<T1> method

  1. @override
Maybe<T1> unit<T1>(
  1. T1 value
)
inherited

Wraps the value with this Monad type.

Implementation

@override
Maybe<T1> unit<T1>(T1 value) => Maybe<T1>.just(value);