@override void write(final String data) { if (!file.existsSync()) { file.createSync(recursive: true); } file.writeAsStringSync(data); }