clearUploads method

Future<void> clearUploads()

Clears all previously downloaded files from the database. The uploader, through it's various platform implementations, will keep a list of successfully uploaded files (or failed uploads).

Be careful, clearing this list will clear this list and you won't have access to it anymore.

Implementation

Future<void> clearUploads() async {
  await _platform.invokeMethod<void>('clearUploads');
}