dart:io sync vs async file operations
问题 There are a number of sync and async operations for files in dart:io: file.deleteSync() and file.delete() file.readAsStringSync() and file.readAsString() file.writeAsBytesSync(bytes) and file.writeAsBytes(bytes) and many, many more. What are the considerations that I should keep in mind when choosing between the sync and async options? I seem to recall seeing somewhere that the sync option is faster if you have to wait for it to finish anyway ( await file.delete() for example). But I can't