Dartโs dart:io library lets you read, write, and manage files on your local file system when running on the Dart VM.
File('filename') โ Creates a file reference.writeAsString() โ Writes a string to the file.readAsString() โ Reads the fileโs contents as a string.exists() โ Checks if a file exists.delete() โ Deletes a file.dart:io in Flutter web apps or browsers.