moveFile method

Future<void> moveFile(
  1. String from,
  2. String to, {
  3. String disk = 'public',
})

Move a file.

Implementation

Future<void> moveFile(
  String from,
  String to, {
  String disk = 'public',
}) async {
  final storage = _storageManager.disk(disk);
  await storage.move(from, to);
}