// Stub file for web - provides empty File class // This file is used when building for web to avoid dart:io dependency class File { File(String path); Future writeAsString(String contents) async { throw UnsupportedError('File operations are not supported on web'); } Future writeAsBytes(List bytes) async { throw UnsupportedError('File operations are not supported on web'); } Future readAsString() async { throw UnsupportedError('File operations are not supported on web'); } }