Flutter: Move an existing file

Moves an existing file, optionally renaming it at the same time.

Parameters

Examples

Move file

final String result = await supabase .storage .from('avatars') .move('public/avatar1.png', 'private/avatar2.png');