Dart- “file.writeAsBytes(bytes, flush: true);” and “file.writeAsBytes(bytes);”, What is the difference between the two? Which is safer?

前端 未结 0 1484
情歌与酒
情歌与酒 2021-02-04 11:24

The doc says, "If the argument flush is set to true, the data written will be flushed to the file system before the returned future completes."

Can you explain

相关标签:
回答
  • 消灭零回复
提交回复
热议问题