readProjectFile method
The bytes of the project's file at path, or null when it isn't
there (a package's asset: the bundle has it).
Implementation
Future<Uint8List?> readProjectFile(String path) async {
final file = File('$_root/$path');
return await file.exists() ? file.readAsBytes() : null;
}