Future<Uint8List?> readFile(String path) async => throw UnsupportedError('File access is only supported by dart:io');