public static function fromValue($just, $nothing = null) : self
    {
        return $just !== $nothing ? self::just($just) : self::nothing();
    }
public static function fromValue($just, $nothing = null) : self
    {
        return $just !== $nothing ? self::just($just) : self::nothing();
    }
public static function fromValue ( $ just , $ nothing = null ) : self { return $ just !== $ nothing ? self :: just ( $ just ) : self :: nothing ( ) ; }
fromValue method.

@param mixed $just
@param mixed $nothing

@return object Maybe
fromValue method .