updateFile method

Future<void> updateFile(
  1. File file
)

Updates the given file

Implementation

Future<void> updateFile(File file) async {
  await _put('/api/media/file/${file.id}', data: {'name': file.name});
}