Method Livewire\Redirector::with does not exist

What seems to be the problem:
After saving a form using livewire, I need to redirect my user to another page where a success if displayed
I wrote

return redirect()->route('admin.contents.index')->with('success','Content Created Successfully');

I get
BadMethodCallException
Method Livewire\Redirector::with does not exist.

Is it not possible to do this in Livewire?

Steps to Reproduce:

Are you using the latest version of Livewire:
yes

Do you have any screenshots or code examples:

Hey, @Frederico

You can do something like that instead

        session()->flash('success', Content Created Successfully.');
        return redirect(route('admin.contents.index));