📜  在颤动中写入和读取文件 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:32.088000             🧑  作者: Mango

代码示例3
Future writeCounter(int counter) async {
  final file = await _localFile;

  // Write the file.
  return file.writeAsString('$counter');
}