import 필요
import 'dart:io';
File('file.txt').readAsString().then((String contents) {
print(contents);
});
final filename = 'file.txt';
var file = File(filename).writeAsString('some content');
ref)
1. "File class - dart:io library - Dart API", 23.12.11, https://api.dart.dev/stable/3.2.3/dart-io/File-class.html